#4E3285#4E3285

#4E3285 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.6% C 0.133 H 295.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4E3285
RGBrgb(78, 50, 133)
HSLhsl(260, 45%, 36%)
HSVhsv(260, 62%, 52%)
CMYKcmyk(41.4%, 62.4%, 0%, 47.8%)
CIE-LABlab(28.36, 32.50, -42.30)
CIE-LCHlch(28.36, 53.35, 307.53°)
OKLaboklab(39.63% 0.0566 -0.1204)
OKLCHoklch(39.63% 0.133 295.2)
XYZxyz(8.5150, 5.5942, 22.8169)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3285 #698532
analogous
#323F85 #4E3285 #773285
triadic
#4E3285 #854E32 #32854E
tetradic
#4E3285 #85323F #698532 #328577
square
#4E3285 #85323F #698532 #328577
split-complementary
#4E3285 #857732 #3F8532
monochromatic
#1A112C #342159 #4E3285 #6843B1 #8A6AC7

Accessibility & contrast

On white

9.91
#4E3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4E3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3285
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3285#FFFFFF#000000##FFFFFF
##4E32851.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#064283
Tritanopia (blue-blind)
#404456
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3285;
/* rgb */ color: rgb(78, 50, 133);
/* oklch */ color: oklch(39.6% 0.133 295.2);
Tailwind
colors: {
  custom: {
    50: '#846ba9',
    500: '#4e3285',
    950: '#000000',
  },
}
SCSS
$custom: #4e3285;
$custom-light: #846ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3285",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 260.241,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39629,
    "c": 0.1331,
    "h": 295.2
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#4E3285
secondary
#96AF64
accent
#D553A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3285

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

Preview Lab → · Contrast checker → · Palette generator →

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