#2D0B36#2D0B36

#2D0B36 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.085 H 318.5°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#2D0B36
RGBrgb(45, 11, 54)
HSLhsl(287, 66%, 13%)
HSVhsv(287, 80%, 21%)
CMYKcmyk(16.7%, 79.6%, 0%, 78.8%)
CIE-LABlab(9.51, 24.96, -20.18)
CIE-LCHlch(9.51, 32.10, 321.04°)
OKLaboklab(23.08% 0.0639 -0.0566)
OKLCHoklch(23.08% 0.085 318.5)
XYZxyz(1.8676, 1.0637, 3.5962)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B36 #14360B
analogous
#170B36 #2D0B36 #360B29
triadic
#2D0B36 #362D0B #0B362D
tetradic
#2D0B36 #36170B #14360B #0B2936
square
#2D0B36 #36170B #14360B #0B2936
split-complementary
#2D0B36 #29360B #0B3617
monochromatic
#150519 #150519 #2D0B36 #571569 #82209C

Accessibility & contrast

On white

17.32
#2D0B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B36
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B36#FFFFFF#000000##FFFFFF
##2D0B361.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#0D1C35
Tritanopia (blue-blind)
#2D131F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0b36;
/* rgb */ color: rgb(45, 11, 54);
/* oklch */ color: oklch(23.1% 0.085 318.5);
Tailwind
colors: {
  custom: {
    50: '#684d6d',
    500: '#2d0b36',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b36;
$custom-light: #684d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b36",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 287.442,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2308,
    "c": 0.08532,
    "h": 318.5
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#2D0B36
secondary
#39732A
accent
#E93F62
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0B36

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

Preview Lab → · Contrast checker → · Palette generator →

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