#2D0C36#2D0C36

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

Color values

HEX#2D0C36
RGBrgb(45, 12, 54)
HSLhsl(287, 64%, 13%)
HSVhsv(287, 78%, 21%)
CMYKcmyk(16.7%, 77.8%, 0%, 78.8%)
CIE-LABlab(9.70, 24.44, -19.88)
CIE-LCHlch(9.70, 31.51, 320.86°)
OKLaboklab(23.21% 0.0625 -0.0557)
OKLCHoklch(23.21% 0.084 318.3)
XYZxyz(1.8794, 1.0873, 3.6002)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C36 #15360C
analogous
#180C36 #2D0C36 #360C2A
triadic
#2D0C36 #362D0C #0C362D
tetradic
#2D0C36 #36180C #15360C #0C2A36
square
#2D0C36 #36180C #15360C #0C2A36
split-complementary
#2D0C36 #2A360C #0C3618
monochromatic
#150619 #150619 #2D0C36 #571768 #80229A

Accessibility & contrast

On white

17.25
#2D0C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C36
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C36#FFFFFF#000000##FFFFFF
##2D0C361.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011937
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#2D141F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0c36;
/* rgb */ color: rgb(45, 12, 54);
/* oklch */ color: oklch(23.2% 0.084 318.3);
Tailwind
colors: {
  custom: {
    50: '#684e6d',
    500: '#2d0c36',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c36;
$custom-light: #684e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c36",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 287.143,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23214,
    "c": 0.08372,
    "h": 318.3
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#2D0C36
secondary
#3B722C
accent
#E74165
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0C36

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

Preview Lab → · Contrast checker → · Palette generator →

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