#4E207F#4E207F

#4E207F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.151 H 301.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#4E207F
RGBrgb(78, 32, 127)
HSLhsl(269, 60%, 31%)
HSVhsv(269, 75%, 50%)
CMYKcmyk(38.6%, 74.8%, 0%, 50.2%)
CIE-LABlab(24.27, 40.75, -45.17)
CIE-LCHlch(24.27, 60.84, 312.06°)
OKLaboklab(36.54% 0.0782 -0.1288)
OKLCHoklch(36.54% 0.151 301.3)
XYZxyz(7.4882, 4.1850, 20.4878)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E207F #517F20
analogous
#20217F #4E207F #7D207F
triadic
#4E207F #7F4E20 #207F4E
tetradic
#4E207F #7F2021 #517F20 #207F7D
square
#4E207F #7F2021 #517F20 #207F7D
split-complementary
#4E207F #7F7D20 #217F20
monochromatic
#12071D #30144E #4E207F #6C2CB0 #8B48D1

Accessibility & contrast

On white

11.43
#4E207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E207F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E207F#FFFFFF#000000##FFFFFF
##4E207F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#43374D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e207f;
/* rgb */ color: rgb(78, 32, 127);
/* oklch */ color: oklch(36.5% 0.151 301.3);
Tailwind
colors: {
  custom: {
    50: '#8460a5',
    500: '#4e207f',
    950: '#000000',
  },
}
SCSS
$custom: #4e207f;
$custom-light: #8460a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e207f",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 269.053,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36538,
    "c": 0.1507,
    "h": 301.3
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#4E207F
secondary
#7FB249
accent
#E34596
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E207F

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

Preview Lab → · Contrast checker → · Palette generator →

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