#2E1464#2E1464

#2E1464 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.130 H 290.6°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#2E1464
RGBrgb(46, 20, 100)
HSLhsl(260, 67%, 24%)
HSVhsv(260, 80%, 39%)
CMYKcmyk(54%, 80%, 0%, 60.8%)
CIE-LABlab(15.49, 33.35, -42.24)
CIE-LCHlch(15.49, 53.82, 308.29°)
OKLaboklab(28.65% 0.0456 -0.1213)
OKLCHoklch(28.65% 0.13 290.6)
XYZxyz(3.6765, 2.0011, 12.2467)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1464 #4A6414
analogous
#142264 #2E1464 #561464
triadic
#2E1464 #642E14 #14642E
tetradic
#2E1464 #641422 #4A6414 #146456
square
#2E1464 #641422 #4A6414 #146456
split-complementary
#2E1464 #645614 #226414
monochromatic
#0C051A #170A31 #2E1464 #451E97 #5D28CA

Accessibility & contrast

On white

15.00
#2E1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2E1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1464
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1464#FFFFFF#000000##FFFFFF
##2E14641.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#1B2A3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e1464;
/* rgb */ color: rgb(46, 20, 100);
/* oklch */ color: oklch(28.6% 0.130 290.6);
Tailwind
colors: {
  custom: {
    50: '#6e5591',
    500: '#2e1464',
    950: '#000000',
  },
}
SCSS
$custom: #2e1464;
$custom-light: #6e5591;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1464",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 259.5,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28647,
    "c": 0.12965,
    "h": 290.6
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#2E1464
secondary
#7B9B38
accent
#EA3EB2
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1464

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

Preview Lab → · Contrast checker → · Palette generator →

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