#2C0232#2C0232

#2C0232 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.096 H 322.4°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#2C0232
RGBrgb(44, 2, 50)
HSLhsl(293, 92%, 10%)
HSVhsv(293, 96%, 20%)
CMYKcmyk(12%, 96%, 0%, 80.4%)
CIE-LABlab(7.31, 28.62, -20.79)
CIE-LCHlch(7.31, 35.38, 324.00°)
OKLaboklab(21.36% 0.076 -0.0584)
OKLCHoklch(21.36% 0.096 322.4)
XYZxyz(1.6361, 0.8093, 3.0870)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0232 #083202
analogous
#140232 #2C0232 #320220
triadic
#2C0232 #322C02 #02322C
tetradic
#2C0232 #321402 #083202 #022032
square
#2C0232 #321402 #083202 #022032
split-complementary
#2C0232 #203202 #023214
monochromatic
#1A011D #1A011D #2C0232 #60046D #9407A8

Accessibility & contrast

On white

18.08
#2C0232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2C0232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0232
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0232#FFFFFF#000000##FFFFFF
##2C02321.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#081831
Tritanopia (blue-blind)
#2D0B1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0232;
/* rgb */ color: rgb(44, 2, 50);
/* oklch */ color: oklch(21.4% 0.096 322.4);
Tailwind
colors: {
  custom: {
    50: '#68486a',
    500: '#2c0232',
    950: '#000000',
  },
}
SCSS
$custom: #2c0232;
$custom-light: #68486a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0232",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 292.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21364,
    "c": 0.09581,
    "h": 322.4
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#2C0232
secondary
#257619
accent
#FF2944
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0232

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

Preview Lab → · Contrast checker → · Palette generator →

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