#2E043A#2E043A

#2E043A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.101 H 317.3°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#2E043A
RGBrgb(46, 4, 58)
HSLhsl(287, 87%, 12%)
HSVhsv(287, 93%, 23%)
CMYKcmyk(20.7%, 93.1%, 0%, 77.3%)
CIE-LABlab(8.77, 29.74, -24.27)
CIE-LCHlch(8.77, 38.39, 320.79°)
OKLaboklab(22.69% 0.0741 -0.0684)
OKLCHoklch(22.69% 0.101 317.3)
XYZxyz(1.9337, 0.9733, 4.0882)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E043A #103A04
analogous
#13043A #2E043A #3A042B
triadic
#2E043A #3A2E04 #043A2E
tetradic
#2E043A #3A1304 #103A04 #042B3A
square
#2E043A #3A1304 #103A04 #042B3A
split-complementary
#2E043A #2B3A04 #043A13
monochromatic
#17021D #17021D #2E043A #5B0873 #890CAD

Accessibility & contrast

On white

17.58
#2E043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2E043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E043A
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E043A#FFFFFF#000000##FFFFFF
##2E043A1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#051A39
Tritanopia (blue-blind)
#2D101F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e043a;
/* rgb */ color: rgb(46, 4, 58);
/* oklch */ color: oklch(22.7% 0.101 317.3);
Tailwind
colors: {
  custom: {
    50: '#694a70',
    500: '#2e043a',
    950: '#000000',
  },
}
SCSS
$custom: #2e043a;
$custom-light: #694a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e043a",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 286.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22692,
    "c": 0.10087,
    "h": 317.3
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#2E043A
secondary
#337C1E
accent
#FD2B59
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2E043A

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

Preview Lab → · Contrast checker → · Palette generator →

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