#4E1475#4E1475

#4E1475 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.153 H 306.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#4E1475
RGBrgb(78, 20, 117)
HSLhsl(276, 71%, 27%)
HSVhsv(276, 83%, 46%)
CMYKcmyk(33.3%, 82.9%, 0%, 54.1%)
CIE-LABlab(21.60, 43.48, -43.16)
CIE-LCHlch(21.60, 61.27, 315.22°)
OKLaboklab(34.39% 0.092 -0.1228)
OKLCHoklch(34.39% 0.153 306.8)
XYZxyz(6.6022, 3.4044, 17.1355)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1475 #3B7514
analogous
#1D1475 #4E1475 #75146C
triadic
#4E1475 #754E14 #14754E
tetradic
#4E1475 #751D14 #3B7514 #146C75
square
#4E1475 #751D14 #3B7514 #146C75
split-complementary
#4E1475 #6C7514 #14751D
monochromatic
#11041A #2B0B41 #4E1475 #711DA9 #9329DA

Accessibility & contrast

On white

12.49
#4E1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1475
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1475#FFFFFF#000000##FFFFFF
##4E14751.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1475;
/* rgb */ color: rgb(78, 20, 117);
/* oklch */ color: oklch(34.4% 0.153 306.8);
Tailwind
colors: {
  custom: {
    50: '#845a9e',
    500: '#4e1475',
    950: '#000000',
  },
}
SCSS
$custom: #4e1475;
$custom-light: #845a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1475",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 275.876,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3439,
    "c": 0.15347,
    "h": 306.8
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#4E1475
secondary
#67AB3A
accent
#EE3A82
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1475

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

Preview Lab → · Contrast checker → · Palette generator →

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