#4E207D#4E207D

#4E207D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.148 H 302.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#4E207D
RGBrgb(78, 32, 125)
HSLhsl(270, 59%, 31%)
HSVhsv(270, 74%, 49%)
CMYKcmyk(37.6%, 74.4%, 0%, 51%)
CIE-LABlab(24.11, 40.23, -44.17)
CIE-LCHlch(24.11, 59.75, 312.33°)
OKLaboklab(36.37% 0.0786 -0.1259)
OKLCHoklch(36.37% 0.148 302)
XYZxyz(7.3592, 4.1334, 19.8082)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E207D #4F7D20
analogous
#20217D #4E207D #7C207D
triadic
#4E207D #7D4E20 #207D4E
tetradic
#4E207D #7D2021 #4F7D20 #207D7C
square
#4E207D #7D2021 #4F7D20 #207D7C
split-complementary
#4E207D #7D7C20 #217D20
monochromatic
#11071C #30144C #4E207D #6C2CAE #8B47D0

Accessibility & contrast

On white

11.50
#4E207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E207D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E207D#FFFFFF#000000##FFFFFF
##4E207D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#44374C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e207d;
/* rgb */ color: rgb(78, 32, 125);
/* oklch */ color: oklch(36.4% 0.148 302.0);
Tailwind
colors: {
  custom: {
    50: '#8460a3',
    500: '#4e207d',
    950: '#000000',
  },
}
SCSS
$custom: #4e207d;
$custom-light: #8460a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e207d",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 269.677,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36368,
    "c": 0.14842,
    "h": 302
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#4E207D
secondary
#7DB049
accent
#E24595
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E207D

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

Preview Lab → · Contrast checker → · Palette generator →

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