#2D0D38#2D0D38

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

Color values

HEX#2D0D38
RGBrgb(45, 13, 56)
HSLhsl(285, 62%, 14%)
HSVhsv(285, 77%, 22%)
CMYKcmyk(19.6%, 76.8%, 0%, 78%)
CIE-LABlab(10.04, 24.40, -20.79)
CIE-LCHlch(10.04, 32.05, 319.57°)
OKLaboklab(23.51% 0.061 -0.0583)
OKLCHoklch(23.51% 0.084 316.3)
XYZxyz(1.9398, 1.1313, 3.8568)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D38 #18380D
analogous
#170D38 #2D0D38 #380D2D
triadic
#2D0D38 #382D0D #0D382D
tetradic
#2D0D38 #38170D #18380D #0D2D38
square
#2D0D38 #38170D #18380D #0D2D38
split-complementary
#2D0D38 #2D380D #0D3817
monochromatic
#140619 #140619 #2D0D38 #55196A #7D249B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D0D38#FFFFFF#000000##FFFFFF
##2D0D381.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)
#001A39
Deuteranopia (green-blind)
#0D1C37
Tritanopia (blue-blind)
#2C1521
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0d38;
/* rgb */ color: rgb(45, 13, 56);
/* oklch */ color: oklch(23.5% 0.084 316.3);
Tailwind
colors: {
  custom: {
    50: '#684e6f',
    500: '#2d0d38',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d38;
$custom-light: #684e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d38",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 284.651,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23509,
    "c": 0.08441,
    "h": 316.3
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#2D0D38
secondary
#3F732D
accent
#E5426C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0D38

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

Preview Lab → · Contrast checker → · Palette generator →

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