#2E082F#2E082F

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

Color values

HEX#2E082F
RGBrgb(46, 8, 47)
HSLhsl(298, 71%, 11%)
HSVhsv(298, 83%, 18%)
CMYKcmyk(2.1%, 83%, 0%, 81.6%)
CIE-LABlab(8.65, 25.18, -16.41)
CIE-LCHlch(8.65, 30.05, 326.90°)
OKLaboklab(22.34% 0.0696 -0.0455)
OKLCHoklch(22.34% 0.083 326.8)
XYZxyz(1.7266, 0.9599, 2.7831)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E082F #092F08
analogous
#1A082F #2E082F #2F081C
triadic
#2E082F #2F2E08 #082F2E
tetradic
#2E082F #2F1A08 #092F08 #081C2F
square
#2E082F #2F1A08 #092F08 #081C2F
split-complementary
#2E082F #1C2F08 #082F1A
monochromatic
#1A041A #1A041A #2E082F #611163 #941A98

Accessibility & contrast

On white

17.62
#2E082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E082F
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E082F#FFFFFF#000000##FFFFFF
##2E082F1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#111A2E
Tritanopia (blue-blind)
#300E1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e082f;
/* rgb */ color: rgb(46, 8, 47);
/* oklch */ color: oklch(22.3% 0.083 326.8);
Tailwind
colors: {
  custom: {
    50: '#694b67',
    500: '#2e082f',
    950: '#000000',
  },
}
SCSS
$custom: #2e082f;
$custom-light: #694b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e082f",
  "rgb": {
    "r": 46,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 298.462,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22339,
    "c": 0.08317,
    "h": 326.8
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#2E082F
secondary
#276E25
accent
#EE3A3F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E082F

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

Preview Lab → · Contrast checker → · Palette generator →

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