#2E1468#2E1468

#2E1468 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.135 H 289.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#2E1468
RGBrgb(46, 20, 104)
HSLhsl(259, 68%, 24%)
HSVhsv(259, 81%, 41%)
CMYKcmyk(55.8%, 80.8%, 0%, 59.2%)
CIE-LABlab(15.90, 34.57, -44.21)
CIE-LCHlch(15.90, 56.12, 308.02°)
OKLaboklab(29.06% 0.0444 -0.1271)
OKLCHoklch(29.06% 0.135 289.3)
XYZxyz(3.8748, 2.0804, 13.2914)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1468 #4E6814
analogous
#142468 #2E1468 #581468
triadic
#2E1468 #682E14 #14682E
tetradic
#2E1468 #681424 #4E6814 #146858
square
#2E1468 #681424 #4E6814 #146858
split-complementary
#2E1468 #685814 #246814
monochromatic
#0B051A #170A35 #2E1468 #451E9B #5B28CF

Accessibility & contrast

On white

14.83
#2E1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E1468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1468
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1468#FFFFFF#000000##FFFFFF
##2E14681.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#182C3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e1468;
/* rgb */ color: rgb(46, 20, 104);
/* oklch */ color: oklch(29.1% 0.135 289.3);
Tailwind
colors: {
  custom: {
    50: '#6e5594',
    500: '#2e1468',
    950: '#000000',
  },
}
SCSS
$custom: #2e1468;
$custom-light: #6e5594;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1468",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 258.571,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.2906,
    "c": 0.13464,
    "h": 289.3
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#2E1468
secondary
#7F9F39
accent
#EB3DB5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1468

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

Preview Lab → · Contrast checker → · Palette generator →

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