#4E2699#4E2699

#4E2699 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.174 H 292.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4E2699
RGBrgb(78, 38, 153)
HSLhsl(261, 60%, 37%)
HSVhsv(261, 75%, 60%)
CMYKcmyk(49%, 75.2%, 0%, 40%)
CIE-LABlab(27.59, 44.84, -55.92)
CIE-LCHlch(27.59, 71.68, 308.72°)
OKLaboklab(39.58% 0.0664 -0.1604)
OKLCHoklch(39.58% 0.174 292.5)
XYZxyz(9.5832, 5.3055, 30.6499)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2699 #719926
analogous
#263799 #4E2699 #882699
triadic
#4E2699 #994E26 #26994E
tetradic
#4E2699 #992637 #719926 #269988
square
#4E2699 #992637 #719926 #269988
split-complementary
#4E2699 #998826 #379926
monochromatic
#1C0E37 #351A68 #4E2699 #6732CA #8B62D8

Accessibility & contrast

On white

10.19
#4E2699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E2699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2699
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2699#FFFFFF#000000##FFFFFF
##4E26991.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#36455D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2699;
/* rgb */ color: rgb(78, 38, 153);
/* oklch */ color: oklch(39.6% 0.174 292.5);
Tailwind
colors: {
  custom: {
    50: '#8765b8',
    500: '#4e2699',
    950: '#000000',
  },
}
SCSS
$custom: #4e2699;
$custom-light: #8765b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2699",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 260.87,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39582,
    "c": 0.17363,
    "h": 292.5
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#4E2699
secondary
#9CBD5E
accent
#E344AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2699

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

Preview Lab → · Contrast checker → · Palette generator →

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