#2C0B35#2C0B35

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

Color values

HEX#2C0B35
RGBrgb(44, 11, 53)
HSLhsl(287, 66%, 13%)
HSVhsv(287, 79%, 21%)
CMYKcmyk(17%, 79.2%, 0%, 79.2%)
CIE-LABlab(9.25, 24.44, -19.88)
CIE-LCHlch(9.25, 31.50, 320.88°)
OKLaboklab(22.84% 0.0624 -0.0557)
OKLCHoklch(22.84% 0.084 318.3)
XYZxyz(1.8009, 1.0319, 3.4718)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B35 #14350B
analogous
#170B35 #2C0B35 #350B29
triadic
#2C0B35 #352C0B #0B352C
tetradic
#2C0B35 #35170B #14350B #0B2935
square
#2C0B35 #35170B #14350B #0B2935
split-complementary
#2C0B35 #29350B #0B3517
monochromatic
#150519 #150519 #2C0B35 #561668 #80209A

Accessibility & contrast

On white

17.41
#2C0B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0B35
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B35#FFFFFF#000000##FFFFFF
##2C0B351.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0b35;
/* rgb */ color: rgb(44, 11, 53);
/* oklch */ color: oklch(22.8% 0.084 318.3);
Tailwind
colors: {
  custom: {
    50: '#674d6c',
    500: '#2c0b35',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b35;
$custom-light: #674d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b35",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 287.143,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22835,
    "c": 0.08366,
    "h": 318.3
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#2C0B35
secondary
#39722A
accent
#E93F64
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0B35

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

Preview Lab → · Contrast checker → · Palette generator →

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