#2D0E31#2D0E31

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

Color values

HEX#2D0E31
RGBrgb(45, 14, 49)
HSLhsl(293, 56%, 12%)
HSVhsv(293, 71%, 19%)
CMYKcmyk(8.2%, 71.4%, 0%, 80.8%)
CIE-LABlab(9.75, 22.12, -16.16)
CIE-LCHlch(9.75, 27.40, 323.86°)
OKLaboklab(23.14% 0.0594 -0.0448)
OKLCHoklch(23.14% 0.074 323)
XYZxyz(1.7935, 1.0938, 3.0218)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E31 #12310E
analogous
#1C0E31 #2D0E31 #310E24
triadic
#2D0E31 #312D0E #0E312D
tetradic
#2D0E31 #311C0E #12310E #0E2431
square
#2D0E31 #311C0E #12310E #0E2431
split-complementary
#2D0E31 #24310E #0E311C
monochromatic
#160718 #160718 #2D0E31 #591C61 #842990

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D0E31#FFFFFF#000000##FFFFFF
##2D0E311.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)
#081932
Deuteranopia (green-blind)
#131C30
Tritanopia (blue-blind)
#2E131D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0e31;
/* rgb */ color: rgb(45, 14, 49);
/* oklch */ color: oklch(23.1% 0.074 323.0);
Tailwind
colors: {
  custom: {
    50: '#674f69',
    500: '#2d0e31',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e31;
$custom-light: #674f69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e31",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 49
  },
  "hsl": {
    "h": 293.143,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23138,
    "c": 0.07445,
    "h": 323
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#2D0E31
secondary
#366C2F
accent
#DF495A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D0E31

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

Preview Lab → · Contrast checker → · Palette generator →

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