#2A0E31#2A0E31

#2A0E31 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.073 H 319.2°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2A0E31
RGBrgb(42, 14, 49)
HSLhsl(288, 56%, 12%)
HSVhsv(288, 71%, 19%)
CMYKcmyk(14.3%, 71.4%, 0%, 80.8%)
CIE-LABlab(9.22, 21.17, -17.02)
CIE-LCHlch(9.22, 27.16, 321.19°)
OKLaboklab(22.65% 0.0549 -0.0475)
OKLCHoklch(22.65% 0.073 319.2)
XYZxyz(1.6662, 1.0281, 3.0158)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E31 #15310E
analogous
#190E31 #2A0E31 #310E27
triadic
#2A0E31 #312A0E #0E312A
tetradic
#2A0E31 #31190E #15310E #0E2731
square
#2A0E31 #31190E #15310E #0E2731
split-complementary
#2A0E31 #27310E #0E3119
monochromatic
#140718 #140718 #2A0E31 #531C61 #7C2990

Accessibility & contrast

On white

17.42
#2A0E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A0E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E31
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E31#FFFFFF#000000##FFFFFF
##2A0E311.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061832
Deuteranopia (green-blind)
#101B30
Tritanopia (blue-blind)
#2A141D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0e31;
/* rgb */ color: rgb(42, 14, 49);
/* oklch */ color: oklch(22.6% 0.073 319.2);
Tailwind
colors: {
  custom: {
    50: '#654e69',
    500: '#2a0e31',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e31;
$custom-light: #654e69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e31",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 49
  },
  "hsl": {
    "h": 288,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22647,
    "c": 0.0726,
    "h": 319.2
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#2A0E31
secondary
#3B6C2F
accent
#DF4967
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2A0E31

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

Preview Lab → · Contrast checker → · Palette generator →

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