#2C0639#2C0639

#2C0639 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.096 H 315.7°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2C0639
RGBrgb(44, 6, 57)
HSLhsl(285, 81%, 12%)
HSVhsv(285, 89%, 22%)
CMYKcmyk(22.8%, 89.5%, 0%, 77.6%)
CIE-LABlab(8.66, 28.00, -23.73)
CIE-LCHlch(8.66, 36.70, 319.71°)
OKLaboklab(22.52% 0.0686 -0.067)
OKLCHoklch(22.52% 0.096 315.7)
XYZxyz(1.8422, 0.9612, 3.9586)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0639 #133906
analogous
#130639 #2C0639 #39062D
triadic
#2C0639 #392C06 #06392C
tetradic
#2C0639 #391306 #133906 #062D39
square
#2C0639 #391306 #133906 #062D39
split-complementary
#2C0639 #2D3906 #063913
monochromatic
#15031C #15031C #2C0639 #570C70 #8112A8

Accessibility & contrast

On white

17.61
#2C0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2C0639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0639
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0639#FFFFFF#000000##FFFFFF
##2C06391.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#051A38
Tritanopia (blue-blind)
#2B111F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0639;
/* rgb */ color: rgb(44, 6, 57);
/* oklch */ color: oklch(22.5% 0.096 315.7);
Tailwind
colors: {
  custom: {
    50: '#684a70',
    500: '#2c0639',
    950: '#000000',
  },
}
SCSS
$custom: #2c0639;
$custom-light: #684a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0639",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 284.706,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22517,
    "c": 0.09585,
    "h": 315.7
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#2C0639
secondary
#387922
accent
#F73063
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0639

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

Preview Lab → · Contrast checker → · Palette generator →

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