#2D0B37#2D0B37

#2D0B37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.086 H 317.6°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2D0B37
RGBrgb(45, 11, 55)
HSLhsl(286, 67%, 13%)
HSVhsv(286, 80%, 22%)
CMYKcmyk(18.2%, 80%, 0%, 78.4%)
CIE-LABlab(9.59, 25.21, -20.79)
CIE-LCHlch(9.59, 32.68, 320.49°)
OKLaboklab(23.16% 0.0638 -0.0583)
OKLCHoklch(23.16% 0.086 317.6)
XYZxyz(1.8914, 1.0731, 3.7212)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B37 #15370B
analogous
#170B37 #2D0B37 #370B2B
triadic
#2D0B37 #372D0B #0B372D
tetradic
#2D0B37 #37170B #15370B #0B2B37
square
#2D0B37 #37170B #15370B #0B2B37
split-complementary
#2D0B37 #2B370B #0B3717
monochromatic
#15051A #15051A #2D0B37 #57156A #801F9D

Accessibility & contrast

On white

17.29
#2D0B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D0B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0B37
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B37#FFFFFF#000000##FFFFFF
##2D0B371.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#0C1C36
Tritanopia (blue-blind)
#2D131F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0b37;
/* rgb */ color: rgb(45, 11, 55);
/* oklch */ color: oklch(23.2% 0.086 317.6);
Tailwind
colors: {
  custom: {
    50: '#684d6e',
    500: '#2d0b37',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b37;
$custom-light: #684d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b37",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 286.364,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23158,
    "c": 0.08645,
    "h": 317.6
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#2D0B37
secondary
#3B742A
accent
#EA3E65
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0B37

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

Preview Lab → · Contrast checker → · Palette generator →

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