#2C0233#2C0233

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

Color values

HEX#2C0233
RGBrgb(44, 2, 51)
HSLhsl(291, 92%, 10%)
HSVhsv(291, 96%, 20%)
CMYKcmyk(13.7%, 96.1%, 0%, 80%)
CIE-LABlab(7.39, 28.86, -21.41)
CIE-LCHlch(7.39, 35.93, 323.43°)
OKLaboklab(21.45% 0.0758 -0.0602)
OKLCHoklch(21.45% 0.097 321.5)
XYZxyz(1.6579, 0.8180, 3.2019)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0233 #093302
analogous
#140233 #2C0233 #330221
triadic
#2C0233 #332C02 #02332C
tetradic
#2C0233 #331402 #093302 #022133
square
#2C0233 #331402 #093302 #022133
split-complementary
#2C0233 #213302 #023314
monochromatic
#19011D #19011D #2C0233 #5F046E #9207A9

Accessibility & contrast

On white

18.05
#2C0233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0233
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0233#FFFFFF#000000##FFFFFF
##2C02331.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#071832
Tritanopia (blue-blind)
#2C0B1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0233;
/* rgb */ color: rgb(44, 2, 51);
/* oklch */ color: oklch(21.4% 0.097 321.5);
Tailwind
colors: {
  custom: {
    50: '#68486b',
    500: '#2c0233',
    950: '#000000',
  },
}
SCSS
$custom: #2c0233;
$custom-light: #68486b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0233",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 291.429,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21449,
    "c": 0.09673,
    "h": 321.5
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#2C0233
secondary
#27771A
accent
#FF2947
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0233

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

Preview Lab → · Contrast checker → · Palette generator →

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