#2E0439#2E0439

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

Color values

HEX#2E0439
RGBrgb(46, 4, 57)
HSLhsl(288, 87%, 12%)
HSVhsv(288, 93%, 22%)
CMYKcmyk(19.3%, 93%, 0%, 77.6%)
CIE-LABlab(8.68, 29.52, -23.68)
CIE-LCHlch(8.68, 37.84, 321.26°)
OKLaboklab(22.61% 0.0743 -0.0667)
OKLCHoklch(22.61% 0.1 318.1)
XYZxyz(1.9085, 0.9632, 3.9555)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0439 #0F3904
analogous
#140439 #2E0439 #39042A
triadic
#2E0439 #392E04 #04392E
tetradic
#2E0439 #391404 #0F3904 #042A39
square
#2E0439 #391404 #0F3904 #042A39
split-complementary
#2E0439 #2A3904 #043914
monochromatic
#17021D #17021D #2E0439 #5C0872 #8A0CAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E0439#FFFFFF#000000##FFFFFF
##2E04391.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)
#00163A
Deuteranopia (green-blind)
#061A38
Tritanopia (blue-blind)
#2E101F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0439;
/* rgb */ color: rgb(46, 4, 57);
/* oklch */ color: oklch(22.6% 0.100 318.1);
Tailwind
colors: {
  custom: {
    50: '#694a70',
    500: '#2e0439',
    950: '#000000',
  },
}
SCSS
$custom: #2e0439;
$custom-light: #694a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0439",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 287.547,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22605,
    "c": 0.09989,
    "h": 318.1
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#2E0439
secondary
#317B1E
accent
#FD2B56
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2E0439

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

Preview Lab → · Contrast checker → · Palette generator →

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