#2D0E36#2D0E36

#2D0E36 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.080 H 317.9°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#2D0E36
RGBrgb(45, 14, 54)
HSLhsl(287, 59%, 13%)
HSVhsv(287, 74%, 21%)
CMYKcmyk(16.7%, 74.1%, 0%, 78.8%)
CIE-LABlab(10.09, 23.34, -19.25)
CIE-LCHlch(10.09, 30.25, 320.48°)
OKLaboklab(23.5% 0.0596 -0.0539)
OKLCHoklch(23.5% 0.08 317.9)
XYZxyz(1.9050, 1.1384, 3.6087)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E36 #17360E
analogous
#190E36 #2D0E36 #360E2B
triadic
#2D0E36 #362D0E #0E362D
tetradic
#2D0E36 #36190E #17360E #0E2B36
square
#2D0E36 #36190E #17360E #0E2B36
split-complementary
#2D0E36 #2B360E #0E3619
monochromatic
#140618 #140618 #2D0E36 #551B67 #7E2797

Accessibility & contrast

On white

17.11
#2D0E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0E36
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E36#FFFFFF#000000##FFFFFF
##2D0E361.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A37
Deuteranopia (green-blind)
#101D35
Tritanopia (blue-blind)
#2D1520
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0e36;
/* rgb */ color: rgb(45, 14, 54);
/* oklch */ color: oklch(23.5% 0.080 317.9);
Tailwind
colors: {
  custom: {
    50: '#684f6d',
    500: '#2d0e36',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e36;
$custom-light: #684f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e36",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 286.5,
    "s": 58.824,
    "l": 13.333
  },
  "oklch": {
    "l": 0.235,
    "c": 0.08034,
    "h": 317.9
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#2D0E36
secondary
#3E712F
accent
#E24669
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0E36

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

Preview Lab → · Contrast checker → · Palette generator →

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