#2D0D34#2D0D34

#2D0D34 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.080 H 320.0°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#2D0D34
RGBrgb(45, 13, 52)
HSLhsl(289, 60%, 13%)
HSVhsv(289, 75%, 20%)
CMYKcmyk(13.5%, 75%, 0%, 79.6%)
CIE-LABlab(9.75, 23.41, -18.35)
CIE-LCHlch(9.75, 29.74, 321.91°)
OKLaboklab(23.21% 0.0611 -0.0512)
OKLCHoklch(23.21% 0.08 320)
XYZxyz(1.8459, 1.0938, 3.3620)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D34 #14340D
analogous
#190D34 #2D0D34 #340D27
triadic
#2D0D34 #342D0D #0D342D
tetradic
#2D0D34 #34190D #14340D #0D2734
square
#2D0D34 #34190D #14340D #0D2734
split-complementary
#2D0D34 #27340D #0D3419
monochromatic
#150618 #150618 #2D0D34 #571965 #822596

Accessibility & contrast

On white

17.23
#2D0D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D0D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0D34
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D34#FFFFFF#000000##FFFFFF
##2D0D341.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041935
Deuteranopia (green-blind)
#101C33
Tritanopia (blue-blind)
#2D141F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0d34;
/* rgb */ color: rgb(45, 13, 52);
/* oklch */ color: oklch(23.2% 0.080 320.0);
Tailwind
colors: {
  custom: {
    50: '#674e6b',
    500: '#2d0d34',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d34;
$custom-light: #674e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d34",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 289.231,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23205,
    "c": 0.07971,
    "h": 320
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#2D0D34
secondary
#396F2D
accent
#E34561
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0D34

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

Preview Lab → · Contrast checker → · Palette generator →

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