#2E11A0#2E11A0

#2E11A0 is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.2% C 0.202 H 277.3°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2E11A0
RGBrgb(46, 17, 160)
HSLhsl(252, 81%, 35%)
HSVhsv(252, 89%, 63%)
CMYKcmyk(71.2%, 89.4%, 0%, 37.3%)
CIE-LABlab(22.01, 52.22, -69.51)
CIE-LCHlch(22.01, 86.94, 306.91°)
OKLaboklab(35.17% 0.0259 -0.2007)
OKLCHoklch(35.17% 0.202 277.3)
XYZxyz(7.6703, 3.5191, 33.5259)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E11A0 #83A011
analogous
#113BA0 #2E11A0 #7611A0
triadic
#2E11A0 #A02E11 #11A02E
tetradic
#2E11A0 #A0113B #83A011 #11A076
square
#2E11A0 #A0113B #83A011 #11A076
split-complementary
#2E11A0 #A07611 #3BA011
monochromatic
#0E0531 #1E0B69 #2E11A0 #3E17D7 #6341EB

Accessibility & contrast

On white

12.32
#2E11A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E11A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E11A0
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E11A0#FFFFFF#000000##FFFFFF
##2E11A01.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00425E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e11a0;
/* rgb */ color: rgb(46, 17, 160);
/* oklch */ color: oklch(35.2% 0.202 277.3);
Tailwind
colors: {
  custom: {
    50: '#7a58be',
    500: '#2e11a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e11a0;
$custom-light: #7a58be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e11a0",
  "rgb": {
    "r": 46,
    "g": 17,
    "b": 160
  },
  "hsl": {
    "h": 252.168,
    "s": 80.791,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35171,
    "c": 0.20238,
    "h": 277.3
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#2E11A0
secondary
#AFCB42
accent
#F731CF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E11A0

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

Preview Lab → · Contrast checker → · Palette generator →

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