#2C0D33#2C0D33

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

Color values

HEX#2C0D33
RGBrgb(44, 13, 51)
HSLhsl(289, 59%, 13%)
HSVhsv(289, 75%, 20%)
CMYKcmyk(13.7%, 74.5%, 0%, 80%)
CIE-LABlab(9.50, 22.86, -18.03)
CIE-LCHlch(9.50, 29.12, 321.75°)
OKLaboklab(22.97% 0.0596 -0.0503)
OKLCHoklch(22.97% 0.078 319.8)
XYZxyz(1.7801, 1.0624, 3.2426)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D33 #14330D
analogous
#190D33 #2C0D33 #330D27
triadic
#2C0D33 #332C0D #0D332C
tetradic
#2C0D33 #33190D #14330D #0D2733
square
#2C0D33 #33190D #14330D #0D2733
split-complementary
#2C0D33 #27330D #0D3319
monochromatic
#150618 #150618 #2C0D33 #561964 #802695

Accessibility & contrast

On white

17.32
#2C0D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D33
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D33#FFFFFF#000000##FFFFFF
##2C0D331.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0d33;
/* rgb */ color: rgb(44, 13, 51);
/* oklch */ color: oklch(23.0% 0.078 319.8);
Tailwind
colors: {
  custom: {
    50: '#674e6b',
    500: '#2c0d33',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d33;
$custom-light: #674e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d33",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 288.947,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22966,
    "c": 0.07797,
    "h": 319.8
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#2C0D33
secondary
#396E2E
accent
#E34562
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0D33

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

Preview Lab → · Contrast checker → · Palette generator →

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