#2D0F31#2D0F31

#2D0F31 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.073 H 322.8°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#2D0F31
RGBrgb(45, 15, 49)
HSLhsl(293, 53%, 13%)
HSVhsv(293, 69%, 19%)
CMYKcmyk(8.2%, 69.4%, 0%, 80.8%)
CIE-LABlab(9.96, 21.54, -15.82)
CIE-LCHlch(9.96, 26.72, 323.71°)
OKLaboklab(23.3% 0.0578 -0.0439)
OKLCHoklch(23.3% 0.073 322.8)
XYZxyz(1.8073, 1.1214, 3.0264)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F31 #13310F
analogous
#1C0F31 #2D0F31 #310F24
triadic
#2D0F31 #312D0F #0F312D
tetradic
#2D0F31 #311C0F #13310F #0F2431
square
#2D0F31 #311C0F #13310F #0F2431
split-complementary
#2D0F31 #24310F #0F311C
monochromatic
#160717 #160717 #2D0F31 #581D60 #832C8F

Accessibility & contrast

On white

17.15
#2D0F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F31
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F31#FFFFFF#000000##FFFFFF
##2D0F311.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091932
Deuteranopia (green-blind)
#131D30
Tritanopia (blue-blind)
#2E141E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0f31;
/* rgb */ color: rgb(45, 15, 49);
/* oklch */ color: oklch(23.3% 0.073 322.8);
Tailwind
colors: {
  custom: {
    50: '#674f69',
    500: '#2d0f31',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f31;
$custom-light: #674f69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f31",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 292.941,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23295,
    "c": 0.07258,
    "h": 322.8
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#2D0F31
secondary
#386B31
accent
#DD4B5C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D0F31

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

Preview Lab → · Contrast checker → · Palette generator →

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