#2E1992#2E1992

#2E1992 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.181 H 278.8°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2E1992
RGBrgb(46, 25, 146)
HSLhsl(250, 71%, 34%)
HSVhsv(250, 83%, 57%)
CMYKcmyk(68.5%, 82.9%, 0%, 42.7%)
CIE-LABlab(21.40, 44.95, -61.92)
CIE-LCHlch(21.40, 76.51, 305.98°)
OKLaboklab(34.26% 0.0278 -0.1788)
OKLCHoklch(34.26% 0.181 278.8)
XYZxyz(6.6610, 3.3509, 27.4843)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1992 #7D9219
analogous
#194092 #2E1992 #6A1992
triadic
#2E1992 #922E19 #19922E
tetradic
#2E1992 #921940 #7D9219 #19926A
square
#2E1992 #921940 #7D9219 #19926A
split-complementary
#2E1992 #926A19 #409219
monochromatic
#0D0729 #1E105E #2E1992 #3E22C6 #6146DF

Accessibility & contrast

On white

12.57
#2E1992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E1992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1992
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1992#FFFFFF#000000##FFFFFF
##2E19921.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e1992;
/* rgb */ color: rgb(46, 25, 146);
/* oklch */ color: oklch(34.3% 0.181 278.8);
Tailwind
colors: {
  custom: {
    50: '#765ab3',
    500: '#2e1992',
    950: '#000000',
  },
}
SCSS
$custom: #2e1992;
$custom-light: #765ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1992",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 250.413,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3426,
    "c": 0.18097,
    "h": 278.8
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#2E1992
secondary
#ABC146
accent
#EE3ACE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1992

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

Preview Lab → · Contrast checker → · Palette generator →

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