#2C0532#2C0532

#2C0532 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.090 H 322.0°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2C0532
RGBrgb(44, 5, 50)
HSLhsl(292, 82%, 11%)
HSVhsv(292, 90%, 20%)
CMYKcmyk(12%, 90%, 0%, 80.4%)
CIE-LABlab(7.90, 26.94, -19.85)
CIE-LCHlch(7.90, 33.46, 323.61°)
OKLaboklab(21.79% 0.0712 -0.0556)
OKLCHoklch(21.79% 0.09 322)
XYZxyz(1.6686, 0.8744, 3.0979)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0532 #0B3205
analogous
#150532 #2C0532 #320521
triadic
#2C0532 #322C05 #05322C
tetradic
#2C0532 #321505 #0B3205 #052132
square
#2C0532 #321505 #0B3205 #052132
split-complementary
#2C0532 #213205 #053215
monochromatic
#18031C #18031C #2C0532 #5D0B6A #8E10A1

Accessibility & contrast

On white

17.88
#2C0532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C0532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0532
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0532#FFFFFF#000000##FFFFFF
##2C05321.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#0B1931
Tritanopia (blue-blind)
#2D0D1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0532;
/* rgb */ color: rgb(44, 5, 50);
/* oklch */ color: oklch(21.8% 0.090 322.0);
Tailwind
colors: {
  custom: {
    50: '#67496a',
    500: '#2c0532',
    950: '#000000',
  },
}
SCSS
$custom: #2c0532;
$custom-light: #67496a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0532",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 292,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21793,
    "c": 0.0903,
    "h": 322
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#2C0532
secondary
#2B731F
accent
#F8304A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0532

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

Preview Lab → · Contrast checker → · Palette generator →

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