#4E1375#4E1375

#4E1375 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.154 H 307.0°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#4E1375
RGBrgb(78, 19, 117)
HSLhsl(276, 72%, 27%)
HSVhsv(276, 84%, 46%)
CMYKcmyk(33.3%, 83.8%, 0%, 54.1%)
CIE-LABlab(21.47, 43.85, -43.37)
CIE-LCHlch(21.47, 61.68, 315.32°)
OKLaboklab(34.3% 0.0929 -0.1234)
OKLCHoklch(34.3% 0.154 307)
XYZxyz(6.5849, 3.3699, 17.1297)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1375 #3A7513
analogous
#1D1375 #4E1375 #75136B
triadic
#4E1375 #754E13 #13754E
tetradic
#4E1375 #751D13 #3A7513 #136B75
square
#4E1375 #751D13 #3A7513 #136B75
split-complementary
#4E1375 #6B7513 #13751D
monochromatic
#12041A #2B0A40 #4E1375 #711CAA #9427DC

Accessibility & contrast

On white

12.54
#4E1375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E1375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1375
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1375#FFFFFF#000000##FFFFFF
##4E13751.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#472D45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1375;
/* rgb */ color: rgb(78, 19, 117);
/* oklch */ color: oklch(34.3% 0.154 307.0);
Tailwind
colors: {
  custom: {
    50: '#84599e',
    500: '#4e1375',
    950: '#000000',
  },
}
SCSS
$custom: #4e1375;
$custom-light: #84599e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1375",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 276.122,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.343,
    "c": 0.15445,
    "h": 307
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#4E1375
secondary
#66AB38
accent
#EF3981
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1375

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

Preview Lab → · Contrast checker → · Palette generator →

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