#2E0636#2E0636

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

Color values

HEX#2E0636
RGBrgb(46, 6, 54)
HSLhsl(290, 80%, 12%)
HSVhsv(290, 89%, 21%)
CMYKcmyk(14.8%, 88.9%, 0%, 78.8%)
CIE-LABlab(8.80, 27.77, -21.31)
CIE-LCHlch(8.80, 35.01, 322.50°)
OKLaboklab(22.61% 0.0721 -0.0598)
OKLCHoklch(22.61% 0.094 320.3)
XYZxyz(1.8576, 0.9775, 3.5801)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0636 #0E3606
analogous
#160636 #2E0636 #360626
triadic
#2E0636 #362E06 #06362E
tetradic
#2E0636 #361606 #0E3606 #062636
square
#2E0636 #361606 #0E3606 #062636
split-complementary
#2E0636 #263606 #063616
monochromatic
#17031C #17031C #2E0636 #5D0C6D #8C12A4

Accessibility & contrast

On white

17.57
#2E0636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0636
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0636#FFFFFF#000000##FFFFFF
##2E06361.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#0B1A35
Tritanopia (blue-blind)
#2E101D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0636;
/* rgb */ color: rgb(46, 6, 54);
/* oklch */ color: oklch(22.6% 0.094 320.3);
Tailwind
colors: {
  custom: {
    50: '#694b6d',
    500: '#2e0636',
    950: '#000000',
  },
}
SCSS
$custom: #2e0636;
$custom-light: #694b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0636",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 290,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22613,
    "c": 0.09364,
    "h": 320.3
  },
  "luminance": 0.00977
}

Semantic roles & 50–950 ramp

primary
#2E0636
secondary
#307621
accent
#F63152
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0636

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

Preview Lab → · Contrast checker → · Palette generator →

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