#2D0B39#2D0B39

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

Color values

HEX#2D0B39
RGBrgb(45, 11, 57)
HSLhsl(284, 68%, 13%)
HSVhsv(284, 81%, 22%)
CMYKcmyk(21.1%, 80.7%, 0%, 77.6%)
CIE-LABlab(9.74, 25.70, -21.99)
CIE-LCHlch(9.74, 33.82, 319.45°)
OKLaboklab(23.32% 0.0636 -0.0618)
OKLCHoklch(23.32% 0.089 315.8)
XYZxyz(1.9403, 1.0927, 3.9788)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B39 #17390B
analogous
#160B39 #2D0B39 #390B2E
triadic
#2D0B39 #392D0B #0B392D
tetradic
#2D0B39 #39160B #17390B #0B2E39
square
#2D0B39 #39160B #17390B #0B2E39
split-complementary
#2D0B39 #2E390B #0B3916
monochromatic
#14051A #14051A #2D0B39 #55156C #7E1FA0

Accessibility & contrast

On white

17.23
#2D0B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B39
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B39#FFFFFF#000000##FFFFFF
##2D0B391.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#0B1C38
Tritanopia (blue-blind)
#2C1421
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0b39;
/* rgb */ color: rgb(45, 11, 57);
/* oklch */ color: oklch(23.3% 0.089 315.8);
Tailwind
colors: {
  custom: {
    50: '#684d70',
    500: '#2d0b39',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b39;
$custom-light: #684d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b39",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 284.348,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23318,
    "c": 0.08874,
    "h": 315.8
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#2D0B39
secondary
#3E762A
accent
#EB3D6A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0B39

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

Preview Lab → · Contrast checker → · Palette generator →

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