#2E052C#2E052C

#2E052C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.086 H 330.2°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2E052C
RGBrgb(46, 5, 44)
HSLhsl(303, 80%, 10%)
HSVhsv(303, 89%, 18%)
CMYKcmyk(0%, 89.1%, 4.3%, 82%)
CIE-LABlab(7.87, 26.19, -15.42)
CIE-LCHlch(7.87, 30.39, 329.52°)
OKLaboklab(21.71% 0.0743 -0.0426)
OKLCHoklch(21.71% 0.086 330.2)
XYZxyz(1.6356, 0.8714, 2.4644)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E052C #052E07
analogous
#1C052E #2E052C #2E0517
triadic
#2E052C #2C2E05 #052C2E
tetradic
#2E052C #2E1C05 #052E07 #05172E
square
#2E052C #2E1C05 #052E07 #05172E
split-complementary
#2E052C #172E05 #052E1C
monochromatic
#1C031A #1C031A #2E052C #650B61 #9C1196

Accessibility & contrast

On white

17.88
#2E052C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E052C
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E052C#FFFFFF#000000##FFFFFF
##2E052C1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142D
Deuteranopia (green-blind)
#11192B
Tritanopia (blue-blind)
#300A17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2e052c;
/* rgb */ color: rgb(46, 5, 44);
/* oklch */ color: oklch(21.7% 0.086 330.2);
Tailwind
colors: {
  custom: {
    50: '#694965',
    500: '#2e052c',
    950: '#000000',
  },
}
SCSS
$custom: #2e052c;
$custom-light: #694965;
$custom-dark: #000000;
JSON
{
  "hex": "#2e052c",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 44
  },
  "hsl": {
    "h": 302.927,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21711,
    "c": 0.08559,
    "h": 330.2
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#2E052C
secondary
#1F7023
accent
#F73B31
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2E052C

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

Preview Lab → · Contrast checker → · Palette generator →

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