#2E082E#2E082E

#2E082E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.082 H 327.9°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2E082E
RGBrgb(46, 8, 46)
HSLhsl(300, 70%, 11%)
HSVhsv(300, 83%, 18%)
CMYKcmyk(0%, 82.6%, 0%, 82%)
CIE-LABlab(8.58, 24.96, -15.78)
CIE-LCHlch(8.58, 29.53, 327.71°)
OKLaboklab(22.27% 0.0696 -0.0437)
OKLCHoklch(22.27% 0.082 327.9)
XYZxyz(1.7067, 0.9519, 2.6781)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E082E #082E08
analogous
#1B082E #2E082E #2E081B
triadic
#2E082E #2E2E08 #082E2E
tetradic
#2E082E #2E1B08 #082E08 #081B2E
square
#2E082E #2E1B08 #082E08 #081B2E
split-complementary
#2E082E #1B2E08 #082E1B
monochromatic
#1A051A #1A051A #2E082E #621162 #961A96

Accessibility & contrast

On white

17.64
#2E082E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2E082E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E082E
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E082E#FFFFFF#000000##FFFFFF
##2E082E1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04152F
Deuteranopia (green-blind)
#121A2D
Tritanopia (blue-blind)
#300D1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e082e;
/* rgb */ color: rgb(46, 8, 46);
/* oklch */ color: oklch(22.3% 0.082 327.9);
Tailwind
colors: {
  custom: {
    50: '#694b67',
    500: '#2e082e',
    950: '#000000',
  },
}
SCSS
$custom: #2e082e;
$custom-light: #694b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e082e",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22267,
    "c": 0.08217,
    "h": 327.9
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#2E082E
secondary
#256D25
accent
#ED3B3B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E082E

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

Preview Lab → · Contrast checker → · Palette generator →

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