#2E14A0#2E14A0

#2E14A0 is a dark, highly saturated violet. Relative luminance 0.036; OKLCH L 35.4% C 0.201 H 277.2°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2E14A0
RGBrgb(46, 20, 160)
HSLhsl(251, 78%, 35%)
HSVhsv(251, 88%, 63%)
CMYKcmyk(71.2%, 87.5%, 0%, 37.3%)
CIE-LABlab(22.37, 51.16, -68.92)
CIE-LCHlch(22.37, 85.83, 306.58°)
OKLaboklab(35.41% 0.025 -0.1991)
OKLCHoklch(35.41% 0.201 277.2)
XYZxyz(7.7200, 3.6185, 33.5425)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E14A0 #86A014
analogous
#1440A0 #2E14A0 #7414A0
triadic
#2E14A0 #A02E14 #14A02E
tetradic
#2E14A0 #A01440 #86A014 #14A074
square
#2E14A0 #A01440 #86A014 #14A074
split-complementary
#2E14A0 #A07414 #40A014
monochromatic
#0F0633 #1E0D6A #2E14A0 #3E1BD6 #6446E8

Accessibility & contrast

On white

12.18
#2E14A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E14A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E14A0
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E14A0#FFFFFF#000000##FFFFFF
##2E14A01.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#00309E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e14a0;
/* rgb */ color: rgb(46, 20, 160);
/* oklch */ color: oklch(35.4% 0.201 277.2);
Tailwind
colors: {
  custom: {
    50: '#7a59be',
    500: '#2e14a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e14a0;
$custom-light: #7a59be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e14a0",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 160
  },
  "hsl": {
    "h": 251.143,
    "s": 77.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35412,
    "c": 0.20063,
    "h": 277.2
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#2E14A0
secondary
#B1C947
accent
#F434D0
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E14A0

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

Preview Lab → · Contrast checker → · Palette generator →

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