#2C0332#2C0332

#2C0332 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.094 H 322.3°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#2C0332
RGBrgb(44, 3, 50)
HSLhsl(292, 89%, 10%)
HSVhsv(292, 94%, 20%)
CMYKcmyk(12%, 94%, 0%, 80.4%)
CIE-LABlab(7.51, 28.06, -20.48)
CIE-LCHlch(7.51, 34.74, 323.88°)
OKLaboklab(21.51% 0.0743 -0.0574)
OKLCHoklch(21.51% 0.094 322.3)
XYZxyz(1.6469, 0.8310, 3.0906)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0332 #093203
analogous
#140332 #2C0332 #320320
triadic
#2C0332 #322C03 #03322C
tetradic
#2C0332 #321403 #093203 #032032
square
#2C0332 #321403 #093203 #032032
split-complementary
#2C0332 #203203 #033214
monochromatic
#19021D #19021D #2C0332 #5F066C #920AA5

Accessibility & contrast

On white

18.01
#2C0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0332
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0332#FFFFFF#000000##FFFFFF
##2C03321.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#091831
Tritanopia (blue-blind)
#2D0C1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0332;
/* rgb */ color: rgb(44, 3, 50);
/* oklch */ color: oklch(21.5% 0.094 322.3);
Tailwind
colors: {
  custom: {
    50: '#67486a',
    500: '#2c0332',
    950: '#000000',
  },
}
SCSS
$custom: #2c0332;
$custom-light: #67486a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0332",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 292.34,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21509,
    "c": 0.09393,
    "h": 322.3
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#2C0332
secondary
#27751B
accent
#FF2944
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0332

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

Preview Lab → · Contrast checker → · Palette generator →

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