#2E073E#2E073E

#2E073E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.100 H 313.6°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#2E073E
RGBrgb(46, 7, 62)
HSLhsl(283, 80%, 14%)
HSVhsv(283, 89%, 24%)
CMYKcmyk(25.8%, 88.7%, 0%, 75.7%)
CIE-LABlab(9.65, 29.13, -25.72)
CIE-LCHlch(9.65, 38.86, 318.56°)
OKLaboklab(23.42% 0.0693 -0.0727)
OKLCHoklch(23.42% 0.1 313.6)
XYZxyz(2.0720, 1.0807, 4.6559)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E073E #173E07
analogous
#12073E #2E073E #3E0732
triadic
#2E073E #3E2E07 #073E2E
tetradic
#2E073E #3E1207 #173E07 #07323E
square
#2E073E #3E1207 #173E07 #07323E
split-complementary
#2E073E #323E07 #073E12
monochromatic
#14031B #14031B #2E073E #570D75 #8013AC

Accessibility & contrast

On white

17.27
#2E073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2E073E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E073E
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E073E#FFFFFF#000000##FFFFFF
##2E073E1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#031C3D
Tritanopia (blue-blind)
#2C1422
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e073e;
/* rgb */ color: rgb(46, 7, 62);
/* oklch */ color: oklch(23.4% 0.100 313.6);
Tailwind
colors: {
  custom: {
    50: '#694c74',
    500: '#2e073e',
    950: '#000000',
  },
}
SCSS
$custom: #2e073e;
$custom-light: #694c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e073e",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 282.545,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23419,
    "c": 0.10047,
    "h": 313.6
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#2E073E
secondary
#3E7D24
accent
#F6326B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2E073E

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

Preview Lab → · Contrast checker → · Palette generator →

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