#4E4385#4E4385

#4E4385 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.7% C 0.106 H 288.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4E4385
RGBrgb(78, 67, 133)
HSLhsl(250, 33%, 39%)
HSVhsv(250, 50%, 52%)
CMYKcmyk(41.4%, 49.6%, 0%, 47.8%)
CIE-LABlab(32.54, 21.85, -35.60)
CIE-LCHlch(32.54, 41.77, 301.53°)
OKLaboklab(42.72% 0.0342 -0.1008)
OKLCHoklch(42.72% 0.106 288.7)
XYZxyz(9.3815, 7.3272, 23.1057)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4385 #7A8543
analogous
#435985 #4E4385 #6F4385
triadic
#4E4385 #854E43 #43854E
tetradic
#4E4385 #854359 #7A8543 #43856F
square
#4E4385 #854359 #7A8543 #43856F
split-complementary
#4E4385 #856F43 #598543
monochromatic
#1E1A34 #362E5C #4E4385 #675AAC #8D82C0

Accessibility & contrast

On white

8.52
#4E4385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E4385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4385
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4385#FFFFFF#000000##FFFFFF
##4E43851.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E87
Deuteranopia (green-blind)
#2A4B83
Tritanopia (blue-blind)
#3F505D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4385;
/* rgb */ color: rgb(78, 67, 133);
/* oklch */ color: oklch(42.7% 0.106 288.7);
Tailwind
colors: {
  custom: {
    50: '#8377a9',
    500: '#4e4385',
    950: '#000000',
  },
}
SCSS
$custom: #4e4385;
$custom-light: #8377a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4385",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 133
  },
  "hsl": {
    "h": 250,
    "s": 33,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.10638,
    "h": 288.7
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#4E4385
secondary
#A3AB79
accent
#C95FB7
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4385

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

Preview Lab → · Contrast checker → · Palette generator →

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