#2A0931#2A0931

#2A0931 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.081 H 320.1°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#2A0931
RGBrgb(42, 9, 49)
HSLhsl(290, 69%, 11%)
HSVhsv(290, 82%, 19%)
CMYKcmyk(14.3%, 81.6%, 0%, 80.8%)
CIE-LABlab(8.21, 23.96, -18.63)
CIE-LCHlch(8.21, 30.35, 322.13°)
OKLaboklab(21.92% 0.0624 -0.0521)
OKLCHoklch(21.92% 0.081 320.1)
XYZxyz(1.6068, 0.9094, 2.9960)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0931 #103109
analogous
#160931 #2A0931 #310924
triadic
#2A0931 #312A09 #09312A
tetradic
#2A0931 #311609 #103109 #092431
square
#2A0931 #311609 #103109 #092431
split-complementary
#2A0931 #243109 #093116
monochromatic
#16051A #16051A #2A0931 #561265 #831C98

Accessibility & contrast

On white

17.77
#2A0931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2A0931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0931
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0931#FFFFFF#000000##FFFFFF
##2A09311.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001632
Deuteranopia (green-blind)
#0D1930
Tritanopia (blue-blind)
#2A101C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0931;
/* rgb */ color: rgb(42, 9, 49);
/* oklch */ color: oklch(21.9% 0.081 320.1);
Tailwind
colors: {
  custom: {
    50: '#654b69',
    500: '#2a0931',
    950: '#000000',
  },
}
SCSS
$custom: #2a0931;
$custom-light: #654b69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0931",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 289.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21916,
    "c": 0.08128,
    "h": 320.1
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#2A0931
secondary
#336F27
accent
#EC3C5B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0931

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2A0931 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva