#2E052B#2E052B

#2E052B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.085 H 331.3°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#2E052B
RGBrgb(46, 5, 43)
HSLhsl(304, 80%, 10%)
HSVhsv(304, 89%, 18%)
CMYKcmyk(0%, 89.1%, 6.5%, 82%)
CIE-LABlab(7.80, 25.99, -14.77)
CIE-LCHlch(7.80, 29.90, 330.39°)
OKLaboklab(21.64% 0.0742 -0.0407)
OKLCHoklch(21.64% 0.085 331.3)
XYZxyz(1.6170, 0.8639, 2.3666)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E052B #052E08
analogous
#1C052E #2E052B #2E0517
triadic
#2E052B #2B2E05 #052B2E
tetradic
#2E052B #2E1C05 #052E08 #05172E
square
#2E052B #2E1C05 #052E08 #05172E
split-complementary
#2E052B #172E05 #052E1C
monochromatic
#1C031A #1C031A #2E052B #650B5F #9C1192

Accessibility & contrast

On white

17.91
#2E052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2E052B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E052B
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E052B#FFFFFF#000000##FFFFFF
##2E052B1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132C
Deuteranopia (green-blind)
#12192A
Tritanopia (blue-blind)
#300917
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e052b;
/* rgb */ color: rgb(46, 5, 43);
/* oklch */ color: oklch(21.6% 0.085 331.3);
Tailwind
colors: {
  custom: {
    50: '#694964',
    500: '#2e052b',
    950: '#000000',
  },
}
SCSS
$custom: #2e052b;
$custom-light: #694964;
$custom-dark: #000000;
JSON
{
  "hex": "#2e052b",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 304.39,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21641,
    "c": 0.08467,
    "h": 331.3
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#2E052B
secondary
#1F7025
accent
#F73F31
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2E052B

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

Preview Lab → · Contrast checker → · Palette generator →

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