#2E043F#2E043F

#2E043F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.106 H 313.4°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2E043F
RGBrgb(46, 4, 63)
HSLhsl(283, 88%, 13%)
HSVhsv(283, 94%, 25%)
CMYKcmyk(27%, 93.7%, 0%, 75.3%)
CIE-LABlab(9.21, 30.90, -27.14)
CIE-LCHlch(9.21, 41.13, 318.71°)
OKLaboklab(23.14% 0.0728 -0.0769)
OKLCHoklch(23.14% 0.106 313.4)
XYZxyz(2.0672, 1.0266, 4.7909)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E043F #153F04
analogous
#10043F #2E043F #3F0432
triadic
#2E043F #3F2E04 #043F2E
tetradic
#2E043F #3F1004 #153F04 #04323F
square
#2E043F #3F1004 #153F04 #04323F
split-complementary
#2E043F #323F04 #043F10
monochromatic
#15021D #15021D #2E043F #580879 #820BB2

Accessibility & contrast

On white

17.42
#2E043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2E043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E043F
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E043F#FFFFFF#000000##FFFFFF
##2E043F1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#2C1322
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e043f;
/* rgb */ color: rgb(46, 4, 63);
/* oklch */ color: oklch(23.1% 0.106 313.4);
Tailwind
colors: {
  custom: {
    50: '#6a4a74',
    500: '#2e043f',
    950: '#000000',
  },
}
SCSS
$custom: #2e043f;
$custom-light: #6a4a74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e043f",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 282.712,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23143,
    "c": 0.10585,
    "h": 313.4
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#2E043F
secondary
#3B801E
accent
#FE2A67
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E043F

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

Preview Lab → · Contrast checker → · Palette generator →

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