#2C0B34#2C0B34

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

Color values

HEX#2C0B34
RGBrgb(44, 11, 52)
HSLhsl(288, 65%, 12%)
HSVhsv(288, 79%, 20%)
CMYKcmyk(15.4%, 78.8%, 0%, 79.6%)
CIE-LABlab(9.18, 24.20, -19.27)
CIE-LCHlch(9.18, 30.93, 321.47°)
OKLaboklab(22.76% 0.0625 -0.0539)
OKLCHoklch(22.76% 0.083 319.2)
XYZxyz(1.7781, 1.0228, 3.3519)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B34 #13340B
analogous
#180B34 #2C0B34 #340B27
triadic
#2C0B34 #342C0B #0B342C
tetradic
#2C0B34 #34180B #13340B #0B2734
square
#2C0B34 #34180B #13340B #0B2734
split-complementary
#2C0B34 #27340B #0B3418
monochromatic
#150519 #150519 #2C0B34 #571667 #812099

Accessibility & contrast

On white

17.43
#2C0B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2C0B34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0B34
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B34#FFFFFF#000000##FFFFFF
##2C0B341.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011835
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#2C121E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0b34;
/* rgb */ color: rgb(44, 11, 52);
/* oklch */ color: oklch(22.8% 0.083 319.2);
Tailwind
colors: {
  custom: {
    50: '#674d6c',
    500: '#2c0b34',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b34;
$custom-light: #674d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b34",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 52
  },
  "hsl": {
    "h": 288.293,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22757,
    "c": 0.08251,
    "h": 319.2
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#2C0B34
secondary
#38712A
accent
#E84061
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0B34

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

Preview Lab → · Contrast checker → · Palette generator →

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