#2E033F#2E033F

#2E033F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.107 H 313.6°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2E033F
RGBrgb(46, 3, 63)
HSLhsl(283, 91%, 13%)
HSVhsv(283, 95%, 25%)
CMYKcmyk(27%, 95.2%, 0%, 75.3%)
CIE-LABlab(9.03, 31.42, -27.43)
CIE-LCHlch(9.03, 41.71, 318.88°)
OKLaboklab(23.02% 0.0741 -0.0777)
OKLCHoklch(23.02% 0.107 313.6)
XYZxyz(2.0563, 1.0049, 4.7873)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E033F #143F03
analogous
#10033F #2E033F #3F0332
triadic
#2E033F #3F2E03 #033F2E
tetradic
#2E033F #3F1003 #143F03 #03323F
square
#2E033F #3F1003 #143F03 #03323F
split-complementary
#2E033F #323F03 #033F10
monochromatic
#15011D #15011D #2E033F #590679 #8309B4

Accessibility & contrast

On white

17.49
#2E033F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E033F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E033F#FFFFFF#000000##FFFFFF
##2E033F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#2C1222
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e033f;
/* rgb */ color: rgb(46, 3, 63);
/* oklch */ color: oklch(23.0% 0.107 313.6);
Tailwind
colors: {
  custom: {
    50: '#6a4a74',
    500: '#2e033f',
    950: '#000000',
  },
}
SCSS
$custom: #2e033f;
$custom-light: #6a4a74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e033f",
  "rgb": {
    "r": 46,
    "g": 3,
    "b": 63
  },
  "hsl": {
    "h": 283,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23018,
    "c": 0.10734,
    "h": 313.6
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#2E033F
secondary
#39811D
accent
#FF2965
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E033F

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

Preview Lab → · Contrast checker → · Palette generator →

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