#2C0C33#2C0C33

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

Color values

HEX#2C0C33
RGBrgb(44, 12, 51)
HSLhsl(289, 62%, 12%)
HSVhsv(289, 76%, 20%)
CMYKcmyk(13.7%, 76.5%, 0%, 80%)
CIE-LABlab(9.30, 23.42, -18.35)
CIE-LCHlch(9.30, 29.75, 321.93°)
OKLaboklab(22.82% 0.0611 -0.0512)
OKLCHoklch(22.82% 0.08 320)
XYZxyz(1.7676, 1.0375, 3.2385)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C33 #13330C
analogous
#190C33 #2C0C33 #330C27
triadic
#2C0C33 #332C0C #0C332C
tetradic
#2C0C33 #33190C #13330C #0C2733
square
#2C0C33 #33190C #13330C #0C2733
split-complementary
#2C0C33 #27330C #0C3319
monochromatic
#150619 #150619 #2C0C33 #571865 #812396

Accessibility & contrast

On white

17.39
#2C0C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0C33
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0C33#FFFFFF#000000##FFFFFF
##2C0C331.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031834
Deuteranopia (green-blind)
#0F1B32
Tritanopia (blue-blind)
#2C131E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0c33;
/* rgb */ color: rgb(44, 12, 51);
/* oklch */ color: oklch(22.8% 0.080 320.0);
Tailwind
colors: {
  custom: {
    50: '#674d6b',
    500: '#2c0c33',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c33;
$custom-light: #674d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c33",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 289.231,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2282,
    "c": 0.0797,
    "h": 320
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#2C0C33
secondary
#386F2C
accent
#E54360
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0C33

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

Preview Lab → · Contrast checker → · Palette generator →

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