#2E043B#2E043B

#2E043B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.102 H 316.5°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#2E043B
RGBrgb(46, 4, 59)
HSLhsl(286, 87%, 12%)
HSVhsv(286, 93%, 23%)
CMYKcmyk(22%, 93.2%, 0%, 76.9%)
CIE-LABlab(8.85, 29.97, -24.85)
CIE-LCHlch(8.85, 38.93, 320.34°)
OKLaboklab(22.78% 0.0739 -0.0701)
OKLCHoklch(22.78% 0.102 316.5)
XYZxyz(1.9594, 0.9835, 4.2235)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E043B #113B04
analogous
#12043B #2E043B #3B042D
triadic
#2E043B #3B2E04 #043B2E
tetradic
#2E043B #3B1204 #113B04 #042D3B
square
#2E043B #3B1204 #113B04 #042D3B
split-complementary
#2E043B #2D3B04 #043B12
monochromatic
#16021D #16021D #2E043B #5B0874 #870CAE

Accessibility & contrast

On white

17.55
#2E043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2E043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E043B
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E043B#FFFFFF#000000##FFFFFF
##2E043B1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#041A3A
Tritanopia (blue-blind)
#2D1120
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2e043b;
/* rgb */ color: rgb(46, 4, 59);
/* oklch */ color: oklch(22.8% 0.102 316.5);
Tailwind
colors: {
  custom: {
    50: '#694a71',
    500: '#2e043b',
    950: '#000000',
  },
}
SCSS
$custom: #2e043b;
$custom-light: #694a71;
$custom-dark: #000000;
JSON
{
  "hex": "#2e043b",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 285.818,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22781,
    "c": 0.10186,
    "h": 316.5
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#2E043B
secondary
#347D1E
accent
#FD2A5C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E043B

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

Preview Lab → · Contrast checker → · Palette generator →

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