#4E3485#4E3485

#4E3485 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.0% C 0.130 H 294.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4E3485
RGBrgb(78, 52, 133)
HSLhsl(259, 44%, 36%)
HSVhsv(259, 61%, 52%)
CMYKcmyk(41.4%, 60.9%, 0%, 47.8%)
CIE-LABlab(28.82, 31.29, -41.57)
CIE-LCHlch(28.82, 52.03, 306.97°)
OKLaboklab(39.96% 0.0541 -0.1183)
OKLCHoklch(39.96% 0.13 294.6)
XYZxyz(8.6024, 5.7689, 22.8460)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3485 #6B8534
analogous
#344385 #4E3485 #773485
triadic
#4E3485 #854E34 #34854E
tetradic
#4E3485 #853443 #6B8534 #348577
square
#4E3485 #853443 #6B8534 #348577
split-complementary
#4E3485 #857734 #438534
monochromatic
#1A122D #342359 #4E3485 #6845B1 #8A6DC6

Accessibility & contrast

On white

9.75
#4E3485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E3485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3485
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3485#FFFFFF#000000##FFFFFF
##4E34851.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#0D4383
Tritanopia (blue-blind)
#404657
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3485;
/* rgb */ color: rgb(78, 52, 133);
/* oklch */ color: oklch(40.0% 0.130 294.6);
Tailwind
colors: {
  custom: {
    50: '#846ca9',
    500: '#4e3485',
    950: '#000000',
  },
}
SCSS
$custom: #4e3485;
$custom-light: #846ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3485",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 259.259,
    "s": 43.784,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.13007,
    "h": 294.6
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#4E3485
secondary
#97AE67
accent
#D454AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3485

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

Preview Lab → · Contrast checker → · Palette generator →

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