#4E148F#4E148F

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

Color values

HEX#4E148F
RGBrgb(78, 20, 143)
HSLhsl(268, 75%, 32%)
HSVhsv(268, 86%, 56%)
CMYKcmyk(45.5%, 86%, 0%, 43.9%)
CIE-LABlab(24.01, 49.81, -55.63)
CIE-LCHlch(24.01, 74.67, 311.84°)
OKLaboklab(36.8% 0.0833 -0.1594)
OKLCHoklch(36.8% 0.18 297.6)
XYZxyz(8.3487, 4.1030, 26.3334)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E148F #558F14
analogous
#14178F #4E148F #8C148F
triadic
#4E148F #8F4E14 #148F4E
tetradic
#4E148F #8F1417 #558F14 #148F8C
square
#4E148F #8F1417 #558F14 #148F8C
split-complementary
#4E148F #8F8C14 #178F14
monochromatic
#130524 #310C59 #4E148F #6B1CC5 #8A3AE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E148F#FFFFFF#000000##FFFFFF
##4E148F1.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)
#003992
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#3D3954
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e148f;
/* rgb */ color: rgb(78, 20, 143);
/* oklch */ color: oklch(36.8% 0.180 297.6);
Tailwind
colors: {
  custom: {
    50: '#875bb1',
    500: '#4e148f',
    950: '#000000',
  },
}
SCSS
$custom: #4e148f;
$custom-light: #875bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e148f",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 268.293,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36801,
    "c": 0.17989,
    "h": 297.6
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#4E148F
secondary
#83C33C
accent
#F23699
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4E148F

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

Preview Lab → · Contrast checker → · Palette generator →

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