#2E0833#2E0833

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

Color values

HEX#2E0833
RGBrgb(46, 8, 51)
HSLhsl(293, 73%, 12%)
HSVhsv(293, 84%, 20%)
CMYKcmyk(9.8%, 84.3%, 0%, 80%)
CIE-LABlab(8.94, 26.05, -18.90)
CIE-LCHlch(8.94, 32.19, 324.04°)
OKLaboklab(22.64% 0.0696 -0.0527)
OKLCHoklch(22.64% 0.087 322.8)
XYZxyz(1.8110, 0.9936, 3.2277)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0833 #0D3308
analogous
#190833 #2E0833 #330823
triadic
#2E0833 #332E08 #08332E
tetradic
#2E0833 #331908 #0D3308 #082333
square
#2E0833 #331908 #0D3308 #082333
split-complementary
#2E0833 #233308 #083319
monochromatic
#18041A #18041A #2E0833 #5E1068 #8D199D

Accessibility & contrast

On white

17.52
#2E0833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0833
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0833#FFFFFF#000000##FFFFFF
##2E08331.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001734
Deuteranopia (green-blind)
#0E1B32
Tritanopia (blue-blind)
#2F101C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e0833;
/* rgb */ color: rgb(46, 8, 51);
/* oklch */ color: oklch(22.6% 0.087 322.8);
Tailwind
colors: {
  custom: {
    50: '#694c6b',
    500: '#2e0833',
    950: '#000000',
  },
}
SCSS
$custom: #2e0833;
$custom-light: #694c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0833",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 293.023,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22636,
    "c": 0.0873,
    "h": 322.8
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#2E0833
secondary
#2E7225
accent
#F0384E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E0833

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

Preview Lab → · Contrast checker → · Palette generator →

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