#2D0E35#2D0E35

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

Color values

HEX#2D0E35
RGBrgb(45, 14, 53)
HSLhsl(288, 58%, 13%)
HSVhsv(288, 74%, 21%)
CMYKcmyk(15.1%, 73.6%, 0%, 79.2%)
CIE-LABlab(10.02, 23.09, -18.64)
CIE-LCHlch(10.02, 29.68, 321.09°)
OKLaboklab(23.43% 0.0596 -0.0521)
OKLCHoklch(23.43% 0.079 318.9)
XYZxyz(1.8817, 1.1291, 3.4863)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E35 #16350E
analogous
#190E35 #2D0E35 #350E29
triadic
#2D0E35 #352D0E #0E352D
tetradic
#2D0E35 #35190E #16350E #0E2935
square
#2D0E35 #35190E #16350E #0E2935
split-complementary
#2D0E35 #29350E #0E3519
monochromatic
#150618 #150618 #2D0E35 #561B65 #7F2896

Accessibility & contrast

On white

17.13
#2D0E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D0E35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0E35
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E35#FFFFFF#000000##FFFFFF
##2D0E351.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041936
Deuteranopia (green-blind)
#101D34
Tritanopia (blue-blind)
#2D151F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0e35;
/* rgb */ color: rgb(45, 14, 53);
/* oklch */ color: oklch(23.4% 0.079 318.9);
Tailwind
colors: {
  custom: {
    50: '#674f6c',
    500: '#2d0e35',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e35;
$custom-light: #674f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e35",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 53
  },
  "hsl": {
    "h": 287.692,
    "s": 58.209,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23426,
    "c": 0.07915,
    "h": 318.9
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#2D0E35
secondary
#3C702F
accent
#E14666
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0E35

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

Preview Lab → · Contrast checker → · Palette generator →

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