#4E107F#4E107F

#4E107F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 35.0% C 0.167 H 303.4°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#4E107F
RGBrgb(78, 16, 127)
HSLhsl(274, 78%, 28%)
HSVhsv(274, 87%, 50%)
CMYKcmyk(38.6%, 87.4%, 0%, 50.2%)
CIE-LABlab(22.03, 47.23, -48.84)
CIE-LCHlch(22.03, 67.94, 314.04°)
OKLaboklab(34.97% 0.0918 -0.1395)
OKLCHoklch(34.97% 0.167 303.4)
XYZxyz(7.1570, 3.5226, 20.3774)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E107F #417F10
analogous
#17107F #4E107F #7F1078
triadic
#4E107F #7F4E10 #107F4E
tetradic
#4E107F #7F1710 #417F10 #10787F
square
#4E107F #7F1710 #417F10 #10787F
split-complementary
#4E107F #787F10 #107F17
monochromatic
#11031B #2D0949 #4E107F #6F17B5 #9026E4

Accessibility & contrast

On white

12.32
#4E107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E107F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E107F#FFFFFF#000000##FFFFFF
##4E107F1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#44314A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e107f;
/* rgb */ color: rgb(78, 16, 127);
/* oklch */ color: oklch(35.0% 0.167 303.4);
Tailwind
colors: {
  custom: {
    50: '#8559a5',
    500: '#4e107f',
    950: '#000000',
  },
}
SCSS
$custom: #4e107f;
$custom-light: #8559a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e107f",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 273.514,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34967,
    "c": 0.16698,
    "h": 303.4
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#4E107F
secondary
#6EB536
accent
#F43489
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4E107F

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

Preview Lab → · Contrast checker → · Palette generator →

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