#2E052D#2E052D

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

Color values

HEX#2E052D
RGBrgb(46, 5, 45)
HSLhsl(301, 80%, 10%)
HSVhsv(301, 89%, 18%)
CMYKcmyk(0%, 89.1%, 2.2%, 82%)
CIE-LABlab(7.94, 26.40, -16.05)
CIE-LCHlch(7.94, 30.89, 328.69°)
OKLaboklab(21.78% 0.0743 -0.0444)
OKLCHoklch(21.78% 0.087 329.1)
XYZxyz(1.6546, 0.8790, 2.5646)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E052D #052E06
analogous
#1A052E #2E052D #2E0519
triadic
#2E052D #2D2E05 #052D2E
tetradic
#2E052D #2E1A05 #052E06 #05192E
square
#2E052D #2E1A05 #052E06 #05192E
split-complementary
#2E052D #192E05 #052E1A
monochromatic
#1C031B #1C031B #2E052D #650B63 #9C1199

Accessibility & contrast

On white

17.86
#2E052D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E052D
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E052D#FFFFFF#000000##FFFFFF
##2E052D1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142E
Deuteranopia (green-blind)
#10192C
Tritanopia (blue-blind)
#300A18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e052d;
/* rgb */ color: rgb(46, 5, 45);
/* oklch */ color: oklch(21.8% 0.087 329.1);
Tailwind
colors: {
  custom: {
    50: '#694a66',
    500: '#2e052d',
    950: '#000000',
  },
}
SCSS
$custom: #2e052d;
$custom-light: #694a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e052d",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 45
  },
  "hsl": {
    "h": 301.463,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21783,
    "c": 0.08654,
    "h": 329.1
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#2E052D
secondary
#1F7021
accent
#F73631
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2E052D

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

Preview Lab → · Contrast checker → · Palette generator →

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