#2E073B#2E073B

#2E073B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.2% C 0.097 H 316.0°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2E073B
RGBrgb(46, 7, 59)
HSLhsl(285, 79%, 13%)
HSVhsv(285, 88%, 23%)
CMYKcmyk(22%, 88.1%, 0%, 76.9%)
CIE-LABlab(9.39, 28.41, -23.98)
CIE-LCHlch(9.39, 37.18, 319.83°)
OKLaboklab(23.16% 0.0699 -0.0676)
OKLCHoklch(23.16% 0.097 316)
XYZxyz(1.9920, 1.0486, 4.2343)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E073B #143B07
analogous
#14073B #2E073B #3B072E
triadic
#2E073B #3B2E07 #073B2E
tetradic
#2E073B #3B1407 #143B07 #072E3B
square
#2E073B #3B1407 #143B07 #072E3B
split-complementary
#2E073B #2E3B07 #073B14
monochromatic
#15031B #15031B #2E073B #590D72 #8314A8

Accessibility & contrast

On white

17.36
#2E073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E073B
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E073B#FFFFFF#000000##FFFFFF
##2E073B1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#061B3A
Tritanopia (blue-blind)
#2D1321
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2e073b;
/* rgb */ color: rgb(46, 7, 59);
/* oklch */ color: oklch(23.2% 0.097 316.0);
Tailwind
colors: {
  custom: {
    50: '#694b71',
    500: '#2e073b',
    950: '#000000',
  },
}
SCSS
$custom: #2e073b;
$custom-light: #694b71;
$custom-dark: #000000;
JSON
{
  "hex": "#2e073b",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 285,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23158,
    "c": 0.09728,
    "h": 316
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#2E073B
secondary
#397A23
accent
#F53363
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2E073B

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

Preview Lab → · Contrast checker → · Palette generator →

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