#2C0229#2C0229

#2C0229 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.7% C 0.088 H 331.4°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#2C0229
RGBrgb(44, 2, 41)
HSLhsl(304, 91%, 9%)
HSVhsv(304, 95%, 17%)
CMYKcmyk(0%, 95.5%, 6.8%, 82.7%)
CIE-LABlab(6.68, 26.57, -15.07)
CIE-LCHlch(6.68, 30.55, 330.44°)
OKLaboklab(20.65% 0.077 -0.042)
OKLCHoklch(20.65% 0.088 331.4)
XYZxyz(1.4607, 0.7391, 2.1631)
Luminance0.0074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0229 #022C05
analogous
#1A022C #2C0229 #2C0214
triadic
#2C0229 #292C02 #02292C
tetradic
#2C0229 #2C1A02 #022C05 #02142C
square
#2C0229 #2C1A02 #022C05 #02142C
split-complementary
#2C0229 #142C02 #022C1A
monochromatic
#1D011B #1D011B #2C0229 #670560 #A10796

Accessibility & contrast

On white

18.30
#2C0229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2C0229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0229
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0229#FFFFFF#000000##FFFFFF
##2C02291.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112A
Deuteranopia (green-blind)
#0F1728
Tritanopia (blue-blind)
#2E0615
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c0229;
/* rgb */ color: rgb(44, 2, 41);
/* oklch */ color: oklch(20.7% 0.088 331.4);
Tailwind
colors: {
  custom: {
    50: '#674763',
    500: '#2c0229',
    950: '#000000',
  },
}
SCSS
$custom: #2c0229;
$custom-light: #674763;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0229",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 304.286,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20654,
    "c": 0.08768,
    "h": 331.4
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#2C0229
secondary
#19711F
accent
#FF3829
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2C0229

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

Preview Lab → · Contrast checker → · Palette generator →

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