#4E2EB3#4E2EB3

#4E2EB3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.196 H 285.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4E2EB3
RGBrgb(78, 46, 179)
HSLhsl(254, 59%, 44%)
HSVhsv(254, 74%, 70%)
CMYKcmyk(56.4%, 74.3%, 0%, 29.8%)
CIE-LABlab(31.41, 48.22, -65.34)
CIE-LCHlch(31.41, 81.21, 306.43°)
OKLaboklab(43.01% 0.0534 -0.1881)
OKLCHoklch(43.01% 0.196 285.8)
XYZxyz(12.2531, 6.8277, 43.3113)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EB3 #93B32E
analogous
#2E51B3 #4E2EB3 #912EB3
triadic
#4E2EB3 #B34E2E #2EB34E
tetradic
#4E2EB3 #B32E51 #93B32E #2EB391
square
#4E2EB3 #B32E51 #93B32E #2EB391
split-complementary
#4E2EB3 #B3912E #51B32E
monochromatic
#241552 #392182 #4E2EB3 #6D4DD1 #957EDE

Accessibility & contrast

On white

8.88
#4E2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2EB3
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EB3#FFFFFF#000000##FFFFFF
##4E2EB31.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#1E536E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e2eb3;
/* rgb */ color: rgb(78, 46, 179);
/* oklch */ color: oklch(43.0% 0.196 285.8);
Tailwind
colors: {
  custom: {
    50: '#8b6acb',
    500: '#4e2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #4e2eb3;
$custom-light: #8b6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2eb3",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 254.436,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4301,
    "c": 0.19552,
    "h": 285.8
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#4E2EB3
secondary
#B3C676
accent
#E246BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

#4E2EB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva