#2E0639#2E0639

#2E0639 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.097 H 317.8°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#2E0639
RGBrgb(46, 6, 57)
HSLhsl(287, 81%, 12%)
HSVhsv(287, 89%, 22%)
CMYKcmyk(19.3%, 89.5%, 0%, 77.6%)
CIE-LABlab(9.05, 28.46, -23.10)
CIE-LCHlch(9.05, 36.65, 320.94°)
OKLaboklab(22.86% 0.0716 -0.065)
OKLCHoklch(22.86% 0.097 317.8)
XYZxyz(1.9303, 1.0066, 3.9627)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0639 #113906
analogous
#150639 #2E0639 #39062B
triadic
#2E0639 #392E06 #06392E
tetradic
#2E0639 #391506 #113906 #062B39
square
#2E0639 #391506 #113906 #062B39
split-complementary
#2E0639 #2B3906 #063915
monochromatic
#16031C #16031C #2E0639 #5B0C70 #8712A8

Accessibility & contrast

On white

17.48
#2E0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2E0639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0639
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0639#FFFFFF#000000##FFFFFF
##2E06391.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#071B38
Tritanopia (blue-blind)
#2E111F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0639;
/* rgb */ color: rgb(46, 6, 57);
/* oklch */ color: oklch(22.9% 0.097 317.8);
Tailwind
colors: {
  custom: {
    50: '#694b70',
    500: '#2e0639',
    950: '#000000',
  },
}
SCSS
$custom: #2e0639;
$custom-light: #694b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0639",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 287.059,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22862,
    "c": 0.09671,
    "h": 317.8
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#2E0639
secondary
#347922
accent
#F7305B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0639

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

Preview Lab → · Contrast checker → · Palette generator →

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