#2E0834#2E0834

#2E0834 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.088 H 321.9°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2E0834
RGBrgb(46, 8, 52)
HSLhsl(292, 73%, 12%)
HSVhsv(292, 85%, 20%)
CMYKcmyk(11.5%, 84.6%, 0%, 79.6%)
CIE-LABlab(9.01, 26.28, -19.51)
CIE-LCHlch(9.01, 32.73, 323.40°)
OKLaboklab(22.71% 0.0695 -0.0545)
OKLCHoklch(22.71% 0.088 321.9)
XYZxyz(1.8333, 1.0025, 3.3451)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0834 #0E3408
analogous
#180834 #2E0834 #340824
triadic
#2E0834 #342E08 #08342E
tetradic
#2E0834 #341808 #0E3408 #082434
square
#2E0834 #341808 #0E3408 #082434
split-complementary
#2E0834 #243408 #083418
monochromatic
#17041B #17041B #2E0834 #5D1069 #8C189E

Accessibility & contrast

On white

17.49
#2E0834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0834
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0834#FFFFFF#000000##FFFFFF
##2E08341.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#2F101D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0834;
/* rgb */ color: rgb(46, 8, 52);
/* oklch */ color: oklch(22.7% 0.088 321.9);
Tailwind
colors: {
  custom: {
    50: '#694c6c',
    500: '#2e0834',
    950: '#000000',
  },
}
SCSS
$custom: #2e0834;
$custom-light: #694c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0834",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 291.818,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22713,
    "c": 0.08835,
    "h": 321.9
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#2E0834
secondary
#307325
accent
#F03851
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0834

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

Preview Lab → · Contrast checker → · Palette generator →

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