#4E2689#4E2689

#4E2689 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.155 H 296.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#4E2689
RGBrgb(78, 38, 137)
HSLhsl(264, 57%, 34%)
HSVhsv(264, 72%, 54%)
CMYKcmyk(43.1%, 72.3%, 0%, 46.3%)
CIE-LABlab(26.19, 40.40, -48.32)
CIE-LCHlch(26.19, 62.99, 309.90°)
OKLaboklab(38.16% 0.07 -0.1381)
OKLCHoklch(38.16% 0.155 296.9)
XYZxyz(8.3492, 4.8119, 24.1510)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2689 #618926
analogous
#263089 #4E2689 #802689
triadic
#4E2689 #894E26 #26894E
tetradic
#4E2689 #892630 #618926 #268980
square
#4E2689 #892630 #618926 #268980
split-complementary
#4E2689 #898026 #308926
monochromatic
#170B29 #331959 #4E2689 #6933B9 #8959D1

Accessibility & contrast

On white

10.70
#4E2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4E2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2689
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2689#FFFFFF#000000##FFFFFF
##4E26891.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#3F3F55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2689;
/* rgb */ color: rgb(78, 38, 137);
/* oklch */ color: oklch(38.2% 0.155 296.9);
Tailwind
colors: {
  custom: {
    50: '#8564ac',
    500: '#4e2689',
    950: '#000000',
  },
}
SCSS
$custom: #4e2689;
$custom-light: #8564ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2689",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 264.242,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38161,
    "c": 0.15482,
    "h": 296.9
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#4E2689
secondary
#8FB655
accent
#E048A2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #4E2689

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

Preview Lab → · Contrast checker → · Palette generator →

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