#2D0B34#2D0B34

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

Color values

HEX#2D0B34
RGBrgb(45, 11, 52)
HSLhsl(290, 65%, 12%)
HSVhsv(290, 79%, 20%)
CMYKcmyk(13.5%, 78.8%, 0%, 79.6%)
CIE-LABlab(9.36, 24.48, -18.96)
CIE-LCHlch(9.36, 30.97, 322.24°)
OKLaboklab(22.93% 0.064 -0.053)
OKLCHoklch(22.93% 0.083 320.3)
XYZxyz(1.8216, 1.0453, 3.3539)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B34 #12340B
analogous
#190B34 #2D0B34 #340B27
triadic
#2D0B34 #342D0B #0B342D
tetradic
#2D0B34 #34190B #12340B #0B2734
square
#2D0B34 #34190B #12340B #0B2734
split-complementary
#2D0B34 #27340B #0B3419
monochromatic
#160519 #160519 #2D0B34 #591667 #842099

Accessibility & contrast

On white

17.37
#2D0B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B34
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B34#FFFFFF#000000##FFFFFF
##2D0B341.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021835
Deuteranopia (green-blind)
#0F1B33
Tritanopia (blue-blind)
#2D121E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0b34;
/* rgb */ color: rgb(45, 11, 52);
/* oklch */ color: oklch(22.9% 0.083 320.3);
Tailwind
colors: {
  custom: {
    50: '#684d6b',
    500: '#2d0b34',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b34;
$custom-light: #684d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b34",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 52
  },
  "hsl": {
    "h": 289.756,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22926,
    "c": 0.08306,
    "h": 320.3
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#2D0B34
secondary
#36712A
accent
#E8405C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0B34

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

Preview Lab → · Contrast checker → · Palette generator →

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