#2E1993#2E1993

#2E1993 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.182 H 278.7°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2E1993
RGBrgb(46, 25, 147)
HSLhsl(250, 71%, 34%)
HSVhsv(250, 83%, 58%)
CMYKcmyk(68.7%, 83%, 0%, 42.4%)
CIE-LABlab(21.51, 45.25, -62.35)
CIE-LCHlch(21.51, 77.04, 305.97°)
OKLaboklab(34.37% 0.0275 -0.1801)
OKLCHoklch(34.37% 0.182 278.7)
XYZxyz(6.7391, 3.3821, 27.8958)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1993 #7E9319
analogous
#194193 #2E1993 #6B1993
triadic
#2E1993 #932E19 #19932E
tetradic
#2E1993 #931941 #7E9319 #19936B
square
#2E1993 #931941 #7E9319 #19936B
split-complementary
#2E1993 #936B19 #419319
monochromatic
#0D072A #1E105F #2E1993 #3E22C7 #6147E0

Accessibility & contrast

On white

12.53
#2E1993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E1993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1993
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1993#FFFFFF#000000##FFFFFF
##2E19931.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002F91
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e1993;
/* rgb */ color: rgb(46, 25, 147);
/* oklch */ color: oklch(34.4% 0.182 278.7);
Tailwind
colors: {
  custom: {
    50: '#775ab4',
    500: '#2e1993',
    950: '#000000',
  },
}
SCSS
$custom: #2e1993;
$custom-light: #775ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1993",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 250.328,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34374,
    "c": 0.18215,
    "h": 278.7
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#2E1993
secondary
#ACC147
accent
#EE3ACF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1993

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

Preview Lab → · Contrast checker → · Palette generator →

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