#2C0333#2C0333

#2C0333 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.095 H 321.4°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#2C0333
RGBrgb(44, 3, 51)
HSLhsl(291, 89%, 11%)
HSVhsv(291, 94%, 20%)
CMYKcmyk(13.7%, 94.1%, 0%, 80%)
CIE-LABlab(7.58, 28.29, -21.09)
CIE-LCHlch(7.58, 35.29, 323.30°)
OKLaboklab(21.59% 0.0741 -0.0592)
OKLCHoklch(21.59% 0.095 321.4)
XYZxyz(1.6687, 0.8397, 3.2055)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0333 #0A3303
analogous
#140333 #2C0333 #330322
triadic
#2C0333 #332C03 #03332C
tetradic
#2C0333 #331403 #0A3303 #032233
square
#2C0333 #331403 #0A3303 #032233
split-complementary
#2C0333 #223303 #033314
monochromatic
#19021D #19021D #2C0333 #5E066D #900AA7

Accessibility & contrast

On white

17.98
#2C0333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0333
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0333#FFFFFF#000000##FFFFFF
##2C03331.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#081832
Tritanopia (blue-blind)
#2C0C1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0333;
/* rgb */ color: rgb(44, 3, 51);
/* oklch */ color: oklch(21.6% 0.095 321.4);
Tailwind
colors: {
  custom: {
    50: '#68486b',
    500: '#2c0333',
    950: '#000000',
  },
}
SCSS
$custom: #2c0333;
$custom-light: #68486b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0333",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 291.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21593,
    "c": 0.09488,
    "h": 321.4
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#2C0333
secondary
#29761C
accent
#FF2948
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0333

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

Preview Lab → · Contrast checker → · Palette generator →

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