#2D0B33#2D0B33

#2D0B33 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.082 H 321.3°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2D0B33
RGBrgb(45, 11, 51)
HSLhsl(291, 65%, 12%)
HSVhsv(291, 78%, 20%)
CMYKcmyk(11.8%, 78.4%, 0%, 80%)
CIE-LABlab(9.29, 24.25, -18.35)
CIE-LCHlch(9.29, 30.41, 322.88°)
OKLaboklab(22.85% 0.064 -0.0512)
OKLCHoklch(22.85% 0.082 321.3)
XYZxyz(1.7993, 1.0363, 3.2366)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B33 #11330B
analogous
#190B33 #2D0B33 #330B25
triadic
#2D0B33 #332D0B #0B332D
tetradic
#2D0B33 #33190B #11330B #0B2533
square
#2D0B33 #33190B #11330B #0B2533
split-complementary
#2D0B33 #25330B #0B3319
monochromatic
#160519 #160519 #2D0B33 #591665 #862198

Accessibility & contrast

On white

17.40
#2D0B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B33
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B33#FFFFFF#000000##FFFFFF
##2D0B331.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021834
Deuteranopia (green-blind)
#0F1B32
Tritanopia (blue-blind)
#2D121D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0b33;
/* rgb */ color: rgb(45, 11, 51);
/* oklch */ color: oklch(22.9% 0.082 321.3);
Tailwind
colors: {
  custom: {
    50: '#684d6b',
    500: '#2d0b33',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b33;
$custom-light: #684d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b33",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 291,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22851,
    "c": 0.08194,
    "h": 321.3
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#2D0B33
secondary
#35702A
accent
#E84059
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0B33

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

Preview Lab → · Contrast checker → · Palette generator →

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