#2E0638#2E0638

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

Color values

HEX#2E0638
RGBrgb(46, 6, 56)
HSLhsl(288, 81%, 12%)
HSVhsv(288, 89%, 22%)
CMYKcmyk(17.9%, 89.3%, 0%, 78%)
CIE-LABlab(8.96, 28.23, -22.50)
CIE-LCHlch(8.96, 36.10, 321.44°)
OKLaboklab(22.78% 0.0718 -0.0633)
OKLCHoklch(22.78% 0.096 318.6)
XYZxyz(1.9056, 0.9967, 3.8326)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0638 #103806
analogous
#150638 #2E0638 #380629
triadic
#2E0638 #382E06 #06382E
tetradic
#2E0638 #381506 #103806 #062938
square
#2E0638 #381506 #103806 #062938
split-complementary
#2E0638 #293806 #063815
monochromatic
#17031C #17031C #2E0638 #5B0C6F #8912A7

Accessibility & contrast

On white

17.51
#2E0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0638
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0638#FFFFFF#000000##FFFFFF
##2E06381.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#091B37
Tritanopia (blue-blind)
#2E101F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0638;
/* rgb */ color: rgb(46, 6, 56);
/* oklch */ color: oklch(22.8% 0.096 318.6);
Tailwind
colors: {
  custom: {
    50: '#694b6f',
    500: '#2e0638',
    950: '#000000',
  },
}
SCSS
$custom: #2e0638;
$custom-light: #694b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0638",
  "rgb": {
    "r": 46,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 288,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22778,
    "c": 0.09568,
    "h": 318.6
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#2E0638
secondary
#337821
accent
#F73158
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0638

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

Preview Lab → · Contrast checker → · Palette generator →

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