#2E1467#2E1467

#2E1467 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.133 H 289.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#2E1467
RGBrgb(46, 20, 103)
HSLhsl(259, 67%, 24%)
HSVhsv(259, 81%, 40%)
CMYKcmyk(55.3%, 80.6%, 0%, 59.6%)
CIE-LABlab(15.80, 34.26, -43.72)
CIE-LCHlch(15.80, 55.54, 308.09°)
OKLaboklab(28.96% 0.0447 -0.1257)
OKLCHoklch(28.96% 0.133 289.6)
XYZxyz(3.8243, 2.0603, 13.0255)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1467 #4D6714
analogous
#142467 #2E1467 #581467
triadic
#2E1467 #672E14 #14672E
tetradic
#2E1467 #671424 #4D6714 #146758
square
#2E1467 #671424 #4D6714 #146758
split-complementary
#2E1467 #675814 #246714
monochromatic
#0B051A #170A34 #2E1467 #451E9A #5C28CD

Accessibility & contrast

On white

14.87
#2E1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2E1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1467
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1467#FFFFFF#000000##FFFFFF
##2E14671.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002565
Tritanopia (blue-blind)
#192B3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e1467;
/* rgb */ color: rgb(46, 20, 103);
/* oklch */ color: oklch(29.0% 0.133 289.6);
Tailwind
colors: {
  custom: {
    50: '#6e5593',
    500: '#2e1467',
    950: '#000000',
  },
}
SCSS
$custom: #2e1467;
$custom-light: #6e5593;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1467",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 258.795,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28956,
    "c": 0.1334,
    "h": 289.6
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#2E1467
secondary
#7E9E39
accent
#EA3DB4
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1467

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

Preview Lab → · Contrast checker → · Palette generator →

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