#2D0D35#2D0D35

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

Color values

HEX#2D0D35
RGBrgb(45, 13, 53)
HSLhsl(288, 61%, 13%)
HSVhsv(288, 75%, 21%)
CMYKcmyk(15.1%, 75.5%, 0%, 79.2%)
CIE-LABlab(9.82, 23.65, -18.96)
CIE-LCHlch(9.82, 30.31, 321.28°)
OKLaboklab(23.28% 0.0611 -0.053)
OKLCHoklch(23.28% 0.081 319.1)
XYZxyz(1.8686, 1.1029, 3.4819)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D35 #15350D
analogous
#190D35 #2D0D35 #350D29
triadic
#2D0D35 #352D0D #0D352D
tetradic
#2D0D35 #35190D #15350D #0D2935
square
#2D0D35 #35190D #15350D #0D2935
split-complementary
#2D0D35 #29350D #0D3519
monochromatic
#150619 #150619 #2D0D35 #571966 #802597

Accessibility & contrast

On white

17.20
#2D0D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0D35
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D35#FFFFFF#000000##FFFFFF
##2D0D351.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0d35;
/* rgb */ color: rgb(45, 13, 53);
/* oklch */ color: oklch(23.3% 0.081 319.1);
Tailwind
colors: {
  custom: {
    50: '#684e6c',
    500: '#2d0d35',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d35;
$custom-light: #684e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d35",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 53
  },
  "hsl": {
    "h": 288,
    "s": 60.606,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23279,
    "c": 0.08088,
    "h": 319.1
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#2D0D35
secondary
#3B702D
accent
#E44464
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0D35

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

Preview Lab → · Contrast checker → · Palette generator →

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