#2E14A1#2E14A1

#2E14A1 is a dark, highly saturated violet. Relative luminance 0.037; OKLCH L 35.5% C 0.202 H 277.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2E14A1
RGBrgb(46, 20, 161)
HSLhsl(251, 78%, 35%)
HSVhsv(251, 88%, 63%)
CMYKcmyk(71.4%, 87.6%, 0%, 36.9%)
CIE-LABlab(22.49, 51.44, -69.33)
CIE-LCHlch(22.49, 86.33, 306.58°)
OKLaboklab(35.53% 0.0247 -0.2002)
OKLCHoklch(35.53% 0.202 277)
XYZxyz(7.8078, 3.6536, 34.0051)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E14A1 #87A114
analogous
#1440A1 #2E14A1 #7414A1
triadic
#2E14A1 #A12E14 #14A12E
tetradic
#2E14A1 #A11440 #87A114 #14A174
square
#2E14A1 #A11440 #87A114 #14A174
split-complementary
#2E14A1 #A17414 #40A114
monochromatic
#0F0634 #1E0D6B #2E14A1 #3E1BD7 #6547E8

Accessibility & contrast

On white

12.13
#2E14A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E14A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E14A1
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E14A1#FFFFFF#000000##FFFFFF
##2E14A11.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e14a1;
/* rgb */ color: rgb(46, 20, 161);
/* oklch */ color: oklch(35.5% 0.202 277.0);
Tailwind
colors: {
  custom: {
    50: '#7a59be',
    500: '#2e14a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e14a1;
$custom-light: #7a59be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e14a1",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 161
  },
  "hsl": {
    "h": 251.064,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35532,
    "c": 0.20175,
    "h": 277
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#2E14A1
secondary
#B1C948
accent
#F433D1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E14A1

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

Preview Lab → · Contrast checker → · Palette generator →

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