#2E052E#2E052E

#2E052E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.087 H 328.1°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#2E052E
RGBrgb(46, 5, 46)
HSLhsl(300, 80%, 10%)
HSVhsv(300, 89%, 18%)
CMYKcmyk(0%, 89.1%, 0%, 82%)
CIE-LABlab(8.01, 26.60, -16.69)
CIE-LCHlch(8.01, 31.40, 327.90°)
OKLaboklab(21.86% 0.0742 -0.0463)
OKLCHoklch(21.86% 0.087 328.1)
XYZxyz(1.6741, 0.8868, 2.6672)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E052E #052E05
analogous
#19052E #2E052E #2E051A
triadic
#2E052E #2E2E05 #052E2E
tetradic
#2E052E #2E1A05 #052E05 #05192E
square
#2E052E #2E1A05 #052E05 #05192E
split-complementary
#2E052E #1A2E05 #052E1A
monochromatic
#1C031C #1C031C #2E052E #650B65 #9C119C

Accessibility & contrast

On white

17.84
#2E052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2E052E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E052E
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E052E#FFFFFF#000000##FFFFFF
##2E052E1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142F
Deuteranopia (green-blind)
#10192D
Tritanopia (blue-blind)
#300B19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2e052e;
/* rgb */ color: rgb(46, 5, 46);
/* oklch */ color: oklch(21.9% 0.087 328.1);
Tailwind
colors: {
  custom: {
    50: '#694a67',
    500: '#2e052e',
    950: '#000000',
  },
}
SCSS
$custom: #2e052e;
$custom-light: #694a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2e052e",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 300,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21856,
    "c": 0.08748,
    "h": 328.1
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#2E052E
secondary
#1F701F
accent
#F73131
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E052E

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

Preview Lab → · Contrast checker → · Palette generator →

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