#4E207E#4E207E

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

Color values

HEX#4E207E
RGBrgb(78, 32, 126)
HSLhsl(269, 59%, 31%)
HSVhsv(269, 75%, 49%)
CMYKcmyk(38.1%, 74.6%, 0%, 50.6%)
CIE-LABlab(24.19, 40.49, -44.67)
CIE-LCHlch(24.19, 60.29, 312.19°)
OKLaboklab(36.45% 0.0784 -0.1274)
OKLCHoklch(36.45% 0.15 301.6)
XYZxyz(7.4234, 4.1590, 20.1463)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E207E #507E20
analogous
#20217E #4E207E #7D207E
triadic
#4E207E #7E4E20 #207E4E
tetradic
#4E207E #7E2021 #507E20 #207E7D
square
#4E207E #7E2021 #507E20 #207E7D
split-complementary
#4E207E #7E7D20 #217E20
monochromatic
#12071C #30144D #4E207E #6C2CAF #8B48D0

Accessibility & contrast

On white

11.46
#4E207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E207E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E207E#FFFFFF#000000##FFFFFF
##4E207E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e207e;
/* rgb */ color: rgb(78, 32, 126);
/* oklch */ color: oklch(36.5% 0.150 301.6);
Tailwind
colors: {
  custom: {
    50: '#8460a4',
    500: '#4e207e',
    950: '#000000',
  },
}
SCSS
$custom: #4e207e;
$custom-light: #8460a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e207e",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 269.362,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36453,
    "c": 0.14956,
    "h": 301.6
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E207E

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

Preview Lab → · Contrast checker → · Palette generator →

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