#2D0C29#2D0C29

#2D0C29 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.069 H 332.6°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#2D0C29
RGBrgb(45, 12, 41)
HSLhsl(307, 58%, 11%)
HSVhsv(307, 73%, 18%)
CMYKcmyk(0%, 73.3%, 8.9%, 82.4%)
CIE-LABlab(8.83, 21.48, -11.67)
CIE-LCHlch(8.83, 24.45, 331.48°)
OKLaboklab(22.31% 0.0617 -0.0319)
OKLCHoklch(22.31% 0.069 332.6)
XYZxyz(1.6139, 0.9810, 2.2017)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C29 #0C2D10
analogous
#200C2D #2D0C29 #2D0C18
triadic
#2D0C29 #292D0C #0C292D
tetradic
#2D0C29 #2D200C #0C2D10 #0C182D
square
#2D0C29 #2D200C #0C2D10 #0C182D
split-complementary
#2D0C29 #182D0C #0C2D20
monochromatic
#180616 #180616 #2D0C29 #5D1955 #8E2681

Accessibility & contrast

On white

17.56
#2D0C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C29
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C29#FFFFFF#000000##FFFFFF
##2D0C291.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B162A
Deuteranopia (green-blind)
#151B28
Tritanopia (blue-blind)
#2F0F18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0c29;
/* rgb */ color: rgb(45, 12, 41);
/* oklch */ color: oklch(22.3% 0.069 332.6);
Tailwind
colors: {
  custom: {
    50: '#674d62',
    500: '#2d0c29',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c29;
$custom-light: #674d62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c29",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 41
  },
  "hsl": {
    "h": 307.273,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22306,
    "c": 0.06941,
    "h": 332.6
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#2D0C29
secondary
#2C6934
accent
#E15947
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2D0C29

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

Preview Lab → · Contrast checker → · Palette generator →

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