#4E2779#4E2779

#4E2779 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.134 H 302.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#4E2779
RGBrgb(78, 39, 121)
HSLhsl(269, 51%, 31%)
HSVhsv(269, 68%, 47%)
CMYKcmyk(35.5%, 67.8%, 0%, 52.5%)
CIE-LABlab(25.11, 35.51, -40.01)
CIE-LCHlch(25.11, 53.50, 311.59°)
OKLaboklab(36.99% 0.0712 -0.1137)
OKLCHoklch(36.99% 0.134 302.1)
XYZxyz(7.3178, 4.4512, 18.5591)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2779 #527927
analogous
#272979 #4E2779 #772779
triadic
#4E2779 #794E27 #27794E
tetradic
#4E2779 #792729 #527927 #277977
square
#4E2779 #792729 #527927 #277977
split-complementary
#4E2779 #797727 #297927
monochromatic
#12091C #30184B #4E2779 #6C36A7 #8A53C8

Accessibility & contrast

On white

11.11
#4E2779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E2779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2779
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2779#FFFFFF#000000##FFFFFF
##4E27791.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#063B77
Tritanopia (blue-blind)
#45394C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2779;
/* rgb */ color: rgb(78, 39, 121);
/* oklch */ color: oklch(37.0% 0.134 302.1);
Tailwind
colors: {
  custom: {
    50: '#8364a0',
    500: '#4e2779',
    950: '#000000',
  },
}
SCSS
$custom: #4e2779;
$custom-light: #8364a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2779",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 268.537,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36986,
    "c": 0.13415,
    "h": 302.1
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#4E2779
secondary
#80AB51
accent
#DB4D97
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050F
muted
#7C7A7E

Preview Lab

Preview with #4E2779

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

Preview Lab → · Contrast checker → · Palette generator →

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