#2A0F33#2A0F33

#2A0F33 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.073 H 316.9°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2A0F33
RGBrgb(42, 15, 51)
HSLhsl(285, 55%, 13%)
HSVhsv(285, 71%, 20%)
CMYKcmyk(17.6%, 70.6%, 0%, 80%)
CIE-LABlab(9.59, 21.07, -17.91)
CIE-LCHlch(9.59, 27.65, 319.63°)
OKLaboklab(22.96% 0.0534 -0.0501)
OKLCHoklch(22.96% 0.073 316.9)
XYZxyz(1.7231, 1.0730, 3.2477)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F33 #18330F
analogous
#180F33 #2A0F33 #330F2A
triadic
#2A0F33 #332A0F #0F332A
tetradic
#2A0F33 #33180F #18330F #0F2A33
square
#2A0F33 #33180F #18330F #0F2A33
split-complementary
#2A0F33 #2A330F #0F3318
monochromatic
#130718 #130718 #2A0F33 #511D62 #782B92

Accessibility & contrast

On white

17.29
#2A0F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0F33
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F33#FFFFFF#000000##FFFFFF
##2A0F331.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061934
Deuteranopia (green-blind)
#101B32
Tritanopia (blue-blind)
#2A151F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0f33;
/* rgb */ color: rgb(42, 15, 51);
/* oklch */ color: oklch(23.0% 0.073 316.9);
Tailwind
colors: {
  custom: {
    50: '#654f6b',
    500: '#2a0f33',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f33;
$custom-light: #654f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f33",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 285,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22955,
    "c": 0.07322,
    "h": 316.9
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#2A0F33
secondary
#406D31
accent
#DE4A6F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2A0F33

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

Preview Lab → · Contrast checker → · Palette generator →

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