#4E2F86#4E2F86

#4E2F86 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.139 H 295.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4E2F86
RGBrgb(78, 47, 134)
HSLhsl(261, 48%, 35%)
HSVhsv(261, 65%, 53%)
CMYKcmyk(41.8%, 64.9%, 0%, 47.5%)
CIE-LABlab(27.77, 34.57, -43.88)
CIE-LCHlch(27.77, 55.86, 308.23°)
OKLaboklab(39.22% 0.0603 -0.1251)
OKLCHoklch(39.22% 0.139 295.7)
XYZxyz(8.4603, 5.3738, 23.1411)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F86 #67862F
analogous
#2F3C86 #4E2F86 #792F86
triadic
#4E2F86 #864E2F #2F864E
tetradic
#4E2F86 #862F3C #67862F #2F8679
square
#4E2F86 #862F3C #67862F #2F8679
split-complementary
#4E2F86 #86792F #3C862F
monochromatic
#190F2B #341F59 #4E2F86 #683FB3 #8966C9

Accessibility & contrast

On white

10.12
#4E2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F86
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F86#FFFFFF#000000##FFFFFF
##4E2F861.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#404356
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2f86;
/* rgb */ color: rgb(78, 47, 134);
/* oklch */ color: oklch(39.2% 0.139 295.7);
Tailwind
colors: {
  custom: {
    50: '#8469aa',
    500: '#4e2f86',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f86;
$custom-light: #8469aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f86",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 261.379,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39223,
    "c": 0.13884,
    "h": 295.7
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#4E2F86
secondary
#94B060
accent
#D850A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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