#2C0336#2C0336

#2C0336 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.098 H 318.8°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#2C0336
RGBrgb(44, 3, 54)
HSLhsl(288, 89%, 11%)
HSVhsv(288, 94%, 21%)
CMYKcmyk(18.5%, 94.4%, 0%, 78.8%)
CIE-LABlab(7.83, 28.98, -22.90)
CIE-LCHlch(7.83, 36.93, 321.69°)
OKLaboklab(21.85% 0.0735 -0.0645)
OKLCHoklch(21.85% 0.098 318.8)
XYZxyz(1.7370, 0.8670, 3.5652)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0336 #0D3603
analogous
#120336 #2C0336 #360326
triadic
#2C0336 #362C03 #03362C
tetradic
#2C0336 #361203 #0D3603 #032636
square
#2C0336 #361203 #0D3603 #032636
split-complementary
#2C0336 #263603 #033612
monochromatic
#18021D #18021D #2C0336 #5B0670 #8A09AA

Accessibility & contrast

On white

17.90
#2C0336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0336
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0336#FFFFFF#000000##FFFFFF
##2C03361.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#051835
Tritanopia (blue-blind)
#2C0E1D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0336;
/* rgb */ color: rgb(44, 3, 54);
/* oklch */ color: oklch(21.9% 0.098 318.8);
Tailwind
colors: {
  custom: {
    50: '#68496d',
    500: '#2c0336',
    950: '#000000',
  },
}
SCSS
$custom: #2c0336;
$custom-light: #68496d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0336",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 288.235,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2185,
    "c": 0.09778,
    "h": 318.8
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#2C0336
secondary
#2E791C
accent
#FF2953
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0336

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

Preview Lab → · Contrast checker → · Palette generator →

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