#2D0C33#2D0C33

#2D0C33 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.080 H 321.2°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2D0C33
RGBrgb(45, 12, 51)
HSLhsl(291, 62%, 12%)
HSVhsv(291, 76%, 20%)
CMYKcmyk(11.8%, 76.5%, 0%, 80%)
CIE-LABlab(9.48, 23.72, -18.05)
CIE-LCHlch(9.48, 29.80, 322.73°)
OKLaboklab(22.99% 0.0625 -0.0503)
OKLCHoklch(22.99% 0.08 321.2)
XYZxyz(1.8111, 1.0599, 3.2405)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C33 #12330C
analogous
#190C33 #2D0C33 #330C26
triadic
#2D0C33 #332D0C #0C332D
tetradic
#2D0C33 #33190C #12330C #0C2633
square
#2D0C33 #33190C #12330C #0C2633
split-complementary
#2D0C33 #26330C #0C3319
monochromatic
#160619 #160619 #2D0C33 #591865 #842396

Accessibility & contrast

On white

17.33
#2D0C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C33
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C33#FFFFFF#000000##FFFFFF
##2D0C331.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041834
Deuteranopia (green-blind)
#101C32
Tritanopia (blue-blind)
#2D121E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0c33;
/* rgb */ color: rgb(45, 12, 51);
/* oklch */ color: oklch(23.0% 0.080 321.2);
Tailwind
colors: {
  custom: {
    50: '#684d6b',
    500: '#2d0c33',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c33;
$custom-light: #684d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c33",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 290.769,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22988,
    "c": 0.08028,
    "h": 321.2
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#2D0C33
secondary
#366F2C
accent
#E5435C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0C33

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

Preview Lab → · Contrast checker → · Palette generator →

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