#2C0439#2C0439

#2C0439 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.099 H 316.1°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#2C0439
RGBrgb(44, 4, 57)
HSLhsl(285, 87%, 12%)
HSVhsv(285, 93%, 22%)
CMYKcmyk(22.8%, 93%, 0%, 77.6%)
CIE-LABlab(8.29, 29.09, -24.34)
CIE-LCHlch(8.29, 37.93, 320.08°)
OKLaboklab(22.25% 0.0714 -0.0687)
OKLCHoklch(22.25% 0.099 316.1)
XYZxyz(1.8205, 0.9178, 3.9514)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0439 #113904
analogous
#120439 #2C0439 #39042C
triadic
#2C0439 #392C04 #04392C
tetradic
#2C0439 #391204 #113904 #042C39
square
#2C0439 #391204 #113904 #042C39
split-complementary
#2C0439 #2C3904 #043912
monochromatic
#16021D #16021D #2C0439 #580872 #840CAB

Accessibility & contrast

On white

17.74
#2C0439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2C0439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0439
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0439#FFFFFF#000000##FFFFFF
##2C04391.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#031938
Tritanopia (blue-blind)
#2B101F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0439;
/* rgb */ color: rgb(44, 4, 57);
/* oklch */ color: oklch(22.3% 0.099 316.1);
Tailwind
colors: {
  custom: {
    50: '#684970',
    500: '#2c0439',
    950: '#000000',
  },
}
SCSS
$custom: #2c0439;
$custom-light: #684970;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0439",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 285.283,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22252,
    "c": 0.09906,
    "h": 316.1
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#2C0439
secondary
#357B1E
accent
#FD2B5E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0439

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

Preview Lab → · Contrast checker → · Palette generator →

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