#2D0A39#2D0A39

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

Color values

HEX#2D0A39
RGBrgb(45, 10, 57)
HSLhsl(285, 70%, 13%)
HSVhsv(285, 82%, 22%)
CMYKcmyk(21.1%, 82.5%, 0%, 77.6%)
CIE-LABlab(9.57, 26.19, -22.27)
CIE-LCHlch(9.57, 34.38, 319.63°)
OKLaboklab(23.19% 0.0649 -0.0627)
OKLCHoklch(23.19% 0.09 316)
XYZxyz(1.9291, 1.0705, 3.9751)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A39 #16390A
analogous
#150A39 #2D0A39 #390A2D
triadic
#2D0A39 #392D0A #0A392D
tetradic
#2D0A39 #39150A #16390A #0A2D39
square
#2D0A39 #39150A #16390A #0A2D39
split-complementary
#2D0A39 #2D390A #0A3915
monochromatic
#15051A #15051A #2D0A39 #56136D #7F1CA1

Accessibility & contrast

On white

17.30
#2D0A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0A39
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A39#FFFFFF#000000##FFFFFF
##2D0A391.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0a39;
/* rgb */ color: rgb(45, 10, 57);
/* oklch */ color: oklch(23.2% 0.090 316.0);
Tailwind
colors: {
  custom: {
    50: '#684d70',
    500: '#2d0a39',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a39;
$custom-light: #684d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a39",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 57
  },
  "hsl": {
    "h": 284.681,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23193,
    "c": 0.09022,
    "h": 316
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#2D0A39
secondary
#3C7628
accent
#ED3B68
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0A39

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

Preview Lab → · Contrast checker → · Palette generator →

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