#4E207C#4E207C

#4E207C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.147 H 302.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#4E207C
RGBrgb(78, 32, 124)
HSLhsl(270, 59%, 31%)
HSVhsv(270, 74%, 49%)
CMYKcmyk(37.1%, 74.2%, 0%, 51.4%)
CIE-LABlab(24.02, 39.97, -43.67)
CIE-LCHlch(24.02, 59.20, 312.47°)
OKLaboklab(36.28% 0.0788 -0.1244)
OKLCHoklch(36.28% 0.147 302.3)
XYZxyz(7.2956, 4.1079, 19.4734)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E207C #4E7C20
analogous
#20207C #4E207C #7C207C
triadic
#4E207C #7C4E20 #207C4E
tetradic
#4E207C #7C2020 #4E7C20 #207C7C
square
#4E207C #7C2020 #4E7C20 #207C7C
split-complementary
#4E207C #7C7C20 #207C20
monochromatic
#11071B #2F134B #4E207C #6D2DAD #8B47CF

Accessibility & contrast

On white

11.53
#4E207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E207C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E207C#FFFFFF#000000##FFFFFF
##4E207C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#44364C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e207c;
/* rgb */ color: rgb(78, 32, 124);
/* oklch */ color: oklch(36.3% 0.147 302.3);
Tailwind
colors: {
  custom: {
    50: '#8460a3',
    500: '#4e207c',
    950: '#000000',
  },
}
SCSS
$custom: #4e207c;
$custom-light: #8460a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e207c",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 270,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36284,
    "c": 0.14727,
    "h": 302.3
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#4E207C
secondary
#7CAF49
accent
#E24694
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E207C

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

Preview Lab → · Contrast checker → · Palette generator →

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