#4E208F#4E208F

#4E208F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.169 H 296.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#4E208F
RGBrgb(78, 32, 143)
HSLhsl(265, 63%, 34%)
HSVhsv(265, 78%, 56%)
CMYKcmyk(45.5%, 77.6%, 0%, 43.9%)
CIE-LABlab(25.67, 44.98, -52.90)
CIE-LCHlch(25.67, 69.44, 310.38°)
OKLaboklab(37.96% 0.0743 -0.1515)
OKLCHoklch(37.96% 0.169 296.1)
XYZxyz(8.6150, 4.6357, 26.4222)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E208F #618F20
analogous
#20298F #4E208F #86208F
triadic
#4E208F #8F4E20 #208F4E
tetradic
#4E208F #8F2029 #618F20 #208F86
square
#4E208F #8F2029 #618F20 #208F86
split-complementary
#4E208F #8F8620 #298F20
monochromatic
#170A2B #33155D #4E208F #692BC1 #8951D8

Accessibility & contrast

On white

10.90
#4E208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E208F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E208F#FFFFFF#000000##FFFFFF
##4E208F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#3C3E56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e208f;
/* rgb */ color: rgb(78, 32, 143);
/* oklch */ color: oklch(38.0% 0.169 296.1);
Tailwind
colors: {
  custom: {
    50: '#8661b1',
    500: '#4e208f',
    950: '#000000',
  },
}
SCSS
$custom: #4e208f;
$custom-light: #8661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e208f",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 264.865,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37955,
    "c": 0.16876,
    "h": 296.1
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#4E208F
secondary
#8FBB4F
accent
#E641A2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E208F

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

Preview Lab → · Contrast checker → · Palette generator →

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