#4E2690#4E2690

#4E2690 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.163 H 294.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4E2690
RGBrgb(78, 38, 144)
HSLhsl(263, 58%, 36%)
HSVhsv(263, 74%, 56%)
CMYKcmyk(45.8%, 73.6%, 0%, 43.5%)
CIE-LABlab(26.79, 42.34, -51.69)
CIE-LCHlch(26.79, 66.82, 309.32°)
OKLaboklab(38.77% 0.0685 -0.148)
OKLCHoklch(38.77% 0.163 294.8)
XYZxyz(8.8677, 5.0193, 26.8818)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2690 #689026
analogous
#263390 #4E2690 #832690
triadic
#4E2690 #904E26 #26904E
tetradic
#4E2690 #902633 #689026 #269083
square
#4E2690 #902633 #689026 #269083
split-complementary
#4E2690 #908326 #339026
monochromatic
#1A0C2F #341960 #4E2690 #6833C0 #8A5CD4

Accessibility & contrast

On white

10.48
#4E2690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E2690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2690
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2690#FFFFFF#000000##FFFFFF
##4E26901.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#3B4158
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2690;
/* rgb */ color: rgb(78, 38, 144);
/* oklch */ color: oklch(38.8% 0.163 294.8);
Tailwind
colors: {
  custom: {
    50: '#8664b1',
    500: '#4e2690',
    950: '#000000',
  },
}
SCSS
$custom: #4e2690;
$custom-light: #8664b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2690",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 262.642,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38772,
    "c": 0.1631,
    "h": 294.8
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#4E2690
secondary
#95B959
accent
#E146A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2690

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

Preview Lab → · Contrast checker → · Palette generator →

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