#2E1465#2E1465

#2E1465 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.131 H 290.3°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#2E1465
RGBrgb(46, 20, 101)
HSLhsl(259, 67%, 24%)
HSVhsv(259, 80%, 40%)
CMYKcmyk(54.5%, 80.2%, 0%, 60.4%)
CIE-LABlab(15.60, 33.65, -42.74)
CIE-LCHlch(15.60, 54.40, 308.22°)
OKLaboklab(28.75% 0.0453 -0.1228)
OKLCHoklch(28.75% 0.131 290.3)
XYZxyz(3.7252, 2.0206, 12.5031)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1465 #4B6514
analogous
#142265 #2E1465 #561465
triadic
#2E1465 #652E14 #14652E
tetradic
#2E1465 #651422 #4B6514 #146556
square
#2E1465 #651422 #4B6514 #146556
split-complementary
#2E1465 #655614 #226514
monochromatic
#0C051A #170A32 #2E1465 #451E98 #5D28CB

Accessibility & contrast

On white

14.96
#2E1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1465
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1465#FFFFFF#000000##FFFFFF
##2E14651.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#1A2A3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e1465;
/* rgb */ color: rgb(46, 20, 101);
/* oklch */ color: oklch(28.7% 0.131 290.3);
Tailwind
colors: {
  custom: {
    50: '#6e5592',
    500: '#2e1465',
    950: '#000000',
  },
}
SCSS
$custom: #2e1465;
$custom-light: #6e5592;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1465",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 259.259,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28749,
    "c": 0.1309,
    "h": 290.3
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#2E1465
secondary
#7C9C39
accent
#EA3EB3
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1465

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

Preview Lab → · Contrast checker → · Palette generator →

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