#2E0832#2E0832

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

Color values

HEX#2E0832
RGBrgb(46, 8, 50)
HSLhsl(294, 72%, 11%)
HSVhsv(294, 84%, 20%)
CMYKcmyk(8%, 84%, 0%, 80.4%)
CIE-LABlab(8.87, 25.83, -18.28)
CIE-LCHlch(8.87, 31.65, 324.71°)
OKLaboklab(22.56% 0.0696 -0.0509)
OKLCHoklch(22.56% 0.086 323.8)
XYZxyz(1.7892, 0.9849, 3.1129)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0832 #0C3208
analogous
#190832 #2E0832 #320821
triadic
#2E0832 #322E08 #08322E
tetradic
#2E0832 #321908 #0C3208 #082132
square
#2E0832 #321908 #0C3208 #082132
split-complementary
#2E0832 #213208 #083219
monochromatic
#18041A #18041A #2E0832 #5F1067 #8F199C

Accessibility & contrast

On white

17.54
#2E0832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0832
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0832#FFFFFF#000000##FFFFFF
##2E08321.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011633
Deuteranopia (green-blind)
#0F1B31
Tritanopia (blue-blind)
#2F0F1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0832;
/* rgb */ color: rgb(46, 8, 50);
/* oklch */ color: oklch(22.6% 0.086 323.8);
Tailwind
colors: {
  custom: {
    50: '#694b6a',
    500: '#2e0832',
    950: '#000000',
  },
}
SCSS
$custom: #2e0832;
$custom-light: #694b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0832",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 294.286,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2256,
    "c": 0.08626,
    "h": 323.8
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#2E0832
secondary
#2C7125
accent
#EF394A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0832

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

Preview Lab → · Contrast checker → · Palette generator →

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