#2D0D36#2D0D36

#2D0D36 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.082 H 318.1°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2D0D36
RGBrgb(45, 13, 54)
HSLhsl(287, 61%, 13%)
HSVhsv(287, 76%, 21%)
CMYKcmyk(16.7%, 75.9%, 0%, 78.8%)
CIE-LABlab(9.89, 23.90, -19.57)
CIE-LCHlch(9.89, 30.89, 320.68°)
OKLaboklab(23.36% 0.0611 -0.0548)
OKLCHoklch(23.36% 0.082 318.1)
XYZxyz(1.8919, 1.1122, 3.6043)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D36 #16360D
analogous
#180D36 #2D0D36 #360D2A
triadic
#2D0D36 #362D0D #0D362D
tetradic
#2D0D36 #36180D #16360D #0D2A36
square
#2D0D36 #36180D #16360D #0D2A36
split-complementary
#2D0D36 #2A360D #0D3618
monochromatic
#150619 #150619 #2D0D36 #561967 #7F2599

Accessibility & contrast

On white

17.18
#2D0D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0D36
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D36#FFFFFF#000000##FFFFFF
##2D0D361.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#0F1C35
Tritanopia (blue-blind)
#2D1420
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0d36;
/* rgb */ color: rgb(45, 13, 54);
/* oklch */ color: oklch(23.4% 0.082 318.1);
Tailwind
colors: {
  custom: {
    50: '#684e6d',
    500: '#2d0d36',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d36;
$custom-light: #684e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d36",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 286.829,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23355,
    "c": 0.08206,
    "h": 318.1
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#2D0D36
secondary
#3C712D
accent
#E44367
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0D36

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

Preview Lab → · Contrast checker → · Palette generator →

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