#2E0835#2E0835

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

Color values

HEX#2E0835
RGBrgb(46, 8, 53)
HSLhsl(291, 74%, 12%)
HSVhsv(291, 85%, 21%)
CMYKcmyk(13.2%, 84.9%, 0%, 79.2%)
CIE-LABlab(9.09, 26.51, -20.12)
CIE-LCHlch(9.09, 33.28, 322.80°)
OKLaboklab(22.79% 0.0694 -0.0563)
OKLCHoklch(22.79% 0.089 320.9)
XYZxyz(1.8561, 1.0116, 3.4650)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0835 #0F3508
analogous
#180835 #2E0835 #350826
triadic
#2E0835 #352E08 #08352E
tetradic
#2E0835 #351808 #0F3508 #082635
square
#2E0835 #351808 #0F3508 #082635
split-complementary
#2E0835 #263508 #083518
monochromatic
#17041B #17041B #2E0835 #5C106A #8A189F

Accessibility & contrast

On white

17.47
#2E0835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0835
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0835#FFFFFF#000000##FFFFFF
##2E08351.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0D1B34
Tritanopia (blue-blind)
#2E101D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e0835;
/* rgb */ color: rgb(46, 8, 53);
/* oklch */ color: oklch(22.8% 0.089 320.9);
Tailwind
colors: {
  custom: {
    50: '#694c6c',
    500: '#2e0835',
    950: '#000000',
  },
}
SCSS
$custom: #2e0835;
$custom-light: #694c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0835",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 290.667,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22791,
    "c": 0.08939,
    "h": 320.9
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#2E0835
secondary
#317425
accent
#F03754
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2E0835

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

Preview Lab → · Contrast checker → · Palette generator →

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