#2E1E69#2E1E69

#2E1E69 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.124 H 286.4°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#2E1E69
RGBrgb(46, 30, 105)
HSLhsl(253, 56%, 26%)
HSVhsv(253, 71%, 41%)
CMYKcmyk(56.2%, 71.4%, 0%, 58.8%)
CIE-LABlab(18.05, 29.16, -41.35)
CIE-LCHlch(18.05, 50.59, 305.19°)
OKLaboklab(30.61% 0.0349 -0.1188)
OKLCHoklch(30.61% 0.124 286.4)
XYZxyz(4.1400, 2.5291, 13.6319)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E69 #59691E
analogous
#1E3469 #2E1E69 #541E69
triadic
#2E1E69 #692E1E #1E692E
tetradic
#2E1E69 #691E34 #59691E #1E6954
square
#2E1E69 #691E34 #59691E #1E6954
split-complementary
#2E1E69 #69541E #34691E
monochromatic
#0A0718 #191039 #2E1E69 #432C99 #583BC7

Accessibility & contrast

On white

13.95
#2E1E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2E1E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E69
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E69#FFFFFF#000000##FFFFFF
##2E1E691.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#163140
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e1e69;
/* rgb */ color: rgb(46, 30, 105);
/* oklch */ color: oklch(30.6% 0.124 286.4);
Tailwind
colors: {
  custom: {
    50: '#6d5b95',
    500: '#2e1e69',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e69;
$custom-light: #6d5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e69",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 252.8,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30612,
    "c": 0.12378,
    "h": 286.4
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#2E1E69
secondary
#8B9E45
accent
#DF49BF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #2E1E69

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

Preview Lab → · Contrast checker → · Palette generator →

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