#2E052A#2E052A

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

Color values

HEX#2E052A
RGBrgb(46, 5, 42)
HSLhsl(306, 80%, 10%)
HSVhsv(306, 89%, 18%)
CMYKcmyk(0%, 89.1%, 8.7%, 82%)
CIE-LABlab(7.74, 25.79, -14.13)
CIE-LCHlch(7.74, 29.41, 331.29°)
OKLaboklab(21.57% 0.0742 -0.0389)
OKLCHoklch(21.57% 0.084 332.4)
XYZxyz(1.5989, 0.8567, 2.2712)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E052A #052E09
analogous
#1E052E #2E052A #2E0515
triadic
#2E052A #2A2E05 #052A2E
tetradic
#2E052A #2E1E05 #052E09 #05152E
square
#2E052A #2E1E05 #052E09 #05152E
split-complementary
#2E052A #152E05 #052E1E
monochromatic
#1C0319 #1C0319 #2E052A #650B5C #9C118F

Accessibility & contrast

On white

17.93
#2E052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E052A
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E052A#FFFFFF#000000##FFFFFF
##2E052A1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132B
Deuteranopia (green-blind)
#121929
Tritanopia (blue-blind)
#300916
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e052a;
/* rgb */ color: rgb(46, 5, 42);
/* oklch */ color: oklch(21.6% 0.084 332.4);
Tailwind
colors: {
  custom: {
    50: '#694963',
    500: '#2e052a',
    950: '#000000',
  },
}
SCSS
$custom: #2e052a;
$custom-light: #694963;
$custom-dark: #000000;
JSON
{
  "hex": "#2e052a",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 305.854,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21571,
    "c": 0.08376,
    "h": 332.4
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#2E052A
secondary
#1F7027
accent
#F74431
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2E052A

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

Preview Lab → · Contrast checker → · Palette generator →

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