#4E107E#4E107E

#4E107E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.166 H 303.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#4E107E
RGBrgb(78, 16, 126)
HSLhsl(274, 77%, 28%)
HSVhsv(274, 87%, 49%)
CMYKcmyk(38.1%, 87.3%, 0%, 50.6%)
CIE-LABlab(21.93, 47.00, -48.36)
CIE-LCHlch(21.93, 67.43, 314.18°)
OKLaboklab(34.87% 0.0922 -0.1381)
OKLCHoklch(34.87% 0.166 303.7)
XYZxyz(7.0922, 3.4967, 20.0359)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E107E #407E10
analogous
#17107E #4E107E #7E1077
triadic
#4E107E #7E4E10 #107E4E
tetradic
#4E107E #7E1710 #407E10 #10777E
square
#4E107E #7E1710 #407E10 #10777E
split-complementary
#4E107E #777E10 #107E17
monochromatic
#11031B #2C0948 #4E107E #7017B4 #9025E3

Accessibility & contrast

On white

12.36
#4E107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E107E
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E107E#FFFFFF#000000##FFFFFF
##4E107E1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#443049
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e107e;
/* rgb */ color: rgb(78, 16, 126);
/* oklch */ color: oklch(34.9% 0.166 303.7);
Tailwind
colors: {
  custom: {
    50: '#8559a4',
    500: '#4e107e',
    950: '#000000',
  },
}
SCSS
$custom: #4e107e;
$custom-light: #8559a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e107e",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 273.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34873,
    "c": 0.16601,
    "h": 303.7
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#4E107E
secondary
#6DB436
accent
#F43488
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4E107E

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

Preview Lab → · Contrast checker → · Palette generator →

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