#4E1775#4E1775

#4E1775 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.150 H 306.5°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#4E1775
RGBrgb(78, 23, 117)
HSLhsl(275, 67%, 27%)
HSVhsv(275, 80%, 46%)
CMYKcmyk(33.3%, 80.3%, 0%, 54.1%)
CIE-LABlab(22.01, 42.30, -42.49)
CIE-LCHlch(22.01, 59.96, 314.87°)
OKLaboklab(34.68% 0.0894 -0.1209)
OKLCHoklch(34.68% 0.15 306.5)
XYZxyz(6.6585, 3.5169, 17.1542)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1775 #3E7517
analogous
#1F1775 #4E1775 #75176D
triadic
#4E1775 #754E17 #17754E
tetradic
#4E1775 #751F17 #3E7517 #176D75
square
#4E1775 #751F17 #3E7517 #176D75
split-complementary
#4E1775 #6D7517 #17751F
monochromatic
#11051A #2C0D42 #4E1775 #7021A8 #9130D6

Accessibility & contrast

On white

12.33
#4E1775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1775
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1775#FFFFFF#000000##FFFFFF
##4E17751.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#472F45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1775;
/* rgb */ color: rgb(78, 23, 117);
/* oklch */ color: oklch(34.7% 0.150 306.5);
Tailwind
colors: {
  custom: {
    50: '#845b9d',
    500: '#4e1775',
    950: '#000000',
  },
}
SCSS
$custom: #4e1775;
$custom-light: #845b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1775",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 275.106,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34676,
    "c": 0.15033,
    "h": 306.5
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#4E1775
secondary
#6BAA3D
accent
#EA3E85
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1775

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

Preview Lab → · Contrast checker → · Palette generator →

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