#2D0A36#2D0A36

#2D0A36 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.087 H 318.6°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#2D0A36
RGBrgb(45, 10, 54)
HSLhsl(288, 69%, 13%)
HSVhsv(288, 81%, 21%)
CMYKcmyk(16.7%, 81.5%, 0%, 78.8%)
CIE-LABlab(9.33, 25.47, -20.47)
CIE-LCHlch(9.33, 32.67, 321.21°)
OKLaboklab(22.95% 0.0652 -0.0574)
OKLCHoklch(22.95% 0.087 318.6)
XYZxyz(1.8565, 1.0414, 3.5925)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A36 #13360A
analogous
#170A36 #2D0A36 #360A29
triadic
#2D0A36 #362D0A #0A362D
tetradic
#2D0A36 #36170A #13360A #0A2936
square
#2D0A36 #36170A #13360A #0A2936
split-complementary
#2D0A36 #29360A #0A3617
monochromatic
#16051A #16051A #2D0A36 #58146A #831D9D

Accessibility & contrast

On white

17.38
#2D0A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0A36
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A36#FFFFFF#000000##FFFFFF
##2D0A361.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0a36;
/* rgb */ color: rgb(45, 10, 54);
/* oklch */ color: oklch(23.0% 0.087 318.6);
Tailwind
colors: {
  custom: {
    50: '#684d6d',
    500: '#2d0a36',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a36;
$custom-light: #684d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a36",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 287.727,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22951,
    "c": 0.08687,
    "h": 318.6
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#2D0A36
secondary
#387328
accent
#EC3C60
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0A36

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

Preview Lab → · Contrast checker → · Palette generator →

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