#2a1f76

Meteorite

Closest match (97% match)

Color formats

RGB

rgb(42, 31, 118)

Red, Green, Blue components

HSL

hsl(248, 58%, 29%)

Hue, Saturation, Lightness

CMYK

cmyk(64, 74, 0, 54)

Print color encoding

Luminance

0.028

Relative luminance

Variations

Shades (Darkening)

Tints (Lightening)

Tones (Reduced saturation)

Harmonies

Click the color slices to copy the code.

Complementary (Opposite)

#2a1f76

#6b761f

Analogous (Adjacent)

#1f3f76

#2a1f76

#561f76

Triadic

#2a1f76

#762a1f

#1f762a

Split complementary

#2a1f76

#76561f

#40761f

Complete conversion table

HEX

#2A1F76

RGB

rgb(42,31,118)

RGBA

rgba(42,31,118, 1)

HSL

hsl(247.59,58.39%,29.22%)

OKLCH (Modern CSS)

oklch(0.32 0.14 280.4)

CSS Variable

--color: #2a1f76;

Preview

Readability and Typography

Headline Test

This text demonstrates the reading experience on this background color.

Headline Test

This text demonstrates the reading experience on this background color.

UI Component Set

This is an example alert bar using the selected color.

SOLIDSOFTOUTLINE

Product Mockup

4582 •••• •••• 9018

CARDHOLDER

JOHN DOE

VALID

12/28

Mobile application

Customer support

Hi! How can we help you today?

I love this new color! 😍

Data visualization

Weekly growth

+1,240

12.5%

1D

1W

1M

WED

2,450

Contrast

Contrast and readability (WCAG)

On white background

13.50

AP

Small text (14pt)

The quick brown fox jumps over...

AA

AAA

Large text or UI (18pt Bold)

AA

AAA

On black background

1.56

AP

Small text (14pt)

The quick brown fox jumps over...

AA

AAA

Large text or UI (18pt Bold)

AA

AAA

Color blindness simulator

ORIG

SIM

Protanopia (red)

#2a1f76#454676

ORIG

SIM

Deuteranopia (green)

#2a1f76#464176

ORIG

SIM

Tritanopia (blue)

#2a1f76#292124

ORIG

SIM

Monochrome (color blind)

#2a1f76#2f2e33

Mixing guide

How to mix this color using physical paints or printing inks.

MIXING PALETTE

53%

41%

6%

RYB PIGMENTS

Ivory black

Pigment

53%

Ultramarine blue

Pigment

41%

Cadmium red

Pigment

6%

Unlike light, mixing paints makes colors darker. This simulation mimics the behavior of physical pigments.

Physical properties

Perceptual and light-related properties derived from the digital color.

Spectral relationship

Blue hue

450–495 nm • closest visible-spectrum range

750 nm

380 nm

Visual temperature

Cool

A perceptual warm–cool classification. Kelvin does not apply to an arbitrary interface color.

Cool

Neutral

Warm

Luminance (brightness)

2.8%

Dark • relative luminance

0%

50%

100%

An RGB color is produced by combined screen light, so this range is a visual comparison rather than an exact physical wavelength.

Gradient gallery

Generate premium CSS backgrounds and textures from your color.

Similar & Related Colors

Mathematically computed harmonies, shades, and similar tones for this color.

Deep Space Rodeo

#332277

20000 Leagues Under the Sea

#191970

Explorer of the Galaxies

#3A1F76

Intergalactic Cowboy

#222266

Fern Frond

#6B761F

Honey Flower

#561F76

Bay of Many

#1F3F76

Metallic Copper

#762A1F

Forest Green

#1F762A

Himalaya

#76561F

Blue Violet

#6650AF

Stratos

#000041


Top tools

WorkspaceLinksySEO AnalyzerChromoQR Code Generator

ReadyTools

CareersContactTools
Pricing7 days free
SupportSecurityGuidesDocsBlogUpdatesLaraVault

Select Language

Set theme

ReadyTools

© 2026 ReadyTools. All rights reserved.