#2D0A34#2D0A34

#2D0A34 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.085 H 320.5°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2D0A34
RGBrgb(45, 10, 52)
HSLhsl(290, 68%, 12%)
HSVhsv(290, 81%, 20%)
CMYKcmyk(13.5%, 80.8%, 0%, 79.6%)
CIE-LABlab(9.18, 24.99, -19.25)
CIE-LCHlch(9.18, 31.55, 322.39°)
OKLaboklab(22.8% 0.0653 -0.0538)
OKLCHoklch(22.8% 0.085 320.5)
XYZxyz(1.8105, 1.0230, 3.3502)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A34 #11340A
analogous
#180A34 #2D0A34 #340A26
triadic
#2D0A34 #342D0A #0A342D
tetradic
#2D0A34 #34180A #11340A #0A2634
square
#2D0A34 #34180A #11340A #0A2634
split-complementary
#2D0A34 #26340A #0A3418
monochromatic
#16051A #16051A #2D0A34 #591467 #861E9B

Accessibility & contrast

On white

17.43
#2D0A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D0A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0A34
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A34#FFFFFF#000000##FFFFFF
##2D0A341.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011735
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#2D121E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0a34;
/* rgb */ color: rgb(45, 10, 52);
/* oklch */ color: oklch(22.8% 0.085 320.5);
Tailwind
colors: {
  custom: {
    50: '#684c6c',
    500: '#2d0a34',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a34;
$custom-light: #684c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a34",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 290,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22796,
    "c": 0.08464,
    "h": 320.5
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#2D0A34
secondary
#357128
accent
#EB3D5A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0A34

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

Preview Lab → · Contrast checker → · Palette generator →

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