#2A0A33#2A0A33

#2A0A33 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.082 H 318.0°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#2A0A33
RGBrgb(42, 10, 51)
HSLhsl(287, 67%, 12%)
HSVhsv(287, 80%, 20%)
CMYKcmyk(17.6%, 80.4%, 0%, 80%)
CIE-LABlab(8.55, 23.91, -19.56)
CIE-LCHlch(8.55, 30.89, 320.72°)
OKLaboklab(22.21% 0.0609 -0.0548)
OKLCHoklch(22.21% 0.082 318)
XYZxyz(1.6608, 0.9484, 3.2269)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A33 #13330A
analogous
#160A33 #2A0A33 #330A28
triadic
#2A0A33 #332A0A #0A332A
tetradic
#2A0A33 #33160A #13330A #0A2833
square
#2A0A33 #33160A #13330A #0A2833
split-complementary
#2A0A33 #28330A #0A3316
monochromatic
#15051A #15051A #2A0A33 #541466 #7E1E99

Accessibility & contrast

On white

17.65
#2A0A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A0A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0A33
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A33#FFFFFF#000000##FFFFFF
##2A0A331.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001734
Deuteranopia (green-blind)
#0C1A32
Tritanopia (blue-blind)
#2A121D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0a33;
/* rgb */ color: rgb(42, 10, 51);
/* oklch */ color: oklch(22.2% 0.082 318.0);
Tailwind
colors: {
  custom: {
    50: '#654c6b',
    500: '#2a0a33',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a33;
$custom-light: #654c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a33",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 286.829,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22209,
    "c": 0.08192,
    "h": 318
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#2A0A33
secondary
#387028
accent
#EA3E64
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0A33

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

Preview Lab → · Contrast checker → · Palette generator →

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