#2D0C32#2D0C32

#2D0C32 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.079 H 322.2°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#2D0C32
RGBrgb(45, 12, 50)
HSLhsl(292, 61%, 12%)
HSVhsv(292, 76%, 20%)
CMYKcmyk(10%, 76%, 0%, 80.4%)
CIE-LABlab(9.41, 23.48, -17.43)
CIE-LCHlch(9.41, 29.24, 323.42°)
OKLaboklab(22.92% 0.0625 -0.0485)
OKLCHoklch(22.92% 0.079 322.2)
XYZxyz(1.7893, 1.0512, 3.1256)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C32 #11320C
analogous
#1A0C32 #2D0C32 #320C24
triadic
#2D0C32 #322D0C #0C322D
tetradic
#2D0C32 #321A0C #11320C #0C2432
square
#2D0C32 #321A0C #11320C #0C2432
split-complementary
#2D0C32 #24320C #0C321A
monochromatic
#160619 #160619 #2D0C32 #591863 #862495

Accessibility & contrast

On white

17.35
#2D0C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C32
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C32#FFFFFF#000000##FFFFFF
##2D0C321.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041833
Deuteranopia (green-blind)
#111C31
Tritanopia (blue-blind)
#2E121D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0c32;
/* rgb */ color: rgb(45, 12, 50);
/* oklch */ color: oklch(22.9% 0.079 322.2);
Tailwind
colors: {
  custom: {
    50: '#674d6a',
    500: '#2d0c32',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c32;
$custom-light: #674d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c32",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 292.105,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22915,
    "c": 0.07915,
    "h": 322.2
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#2D0C32
secondary
#356E2C
accent
#E44359
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0C32

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

Preview Lab → · Contrast checker → · Palette generator →

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