#4E3D95#4E3D95

#4E3D95 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.7% C 0.139 H 288.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4E3D95
RGBrgb(78, 61, 149)
HSLhsl(252, 42%, 41%)
HSVhsv(252, 59%, 58%)
CMYKcmyk(47.7%, 59.1%, 0%, 41.6%)
CIE-LABlab(32.09, 30.57, -46.15)
CIE-LCHlch(32.09, 55.36, 303.52°)
OKLaboklab(42.73% 0.0427 -0.1317)
OKLCHoklch(42.73% 0.139 288)
XYZxyz(10.2339, 7.1267, 29.2643)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D95 #84953D
analogous
#3D5895 #4E3D95 #7A3D95
triadic
#4E3D95 #954E3D #3D954E
tetradic
#4E3D95 #953D58 #84953D #3D957A
square
#4E3D95 #953D58 #84953D #3D957A
split-complementary
#4E3D95 #957A3D #58953D
monochromatic
#21193E #372B6A #4E3D95 #6956BA #8F81CB

Accessibility & contrast

On white

8.66
#4E3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E3D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D95
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D95#FFFFFF#000000##FFFFFF
##4E3D951.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#375163
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e3d95;
/* rgb */ color: rgb(78, 61, 149);
/* oklch */ color: oklch(42.7% 0.139 288.0);
Tailwind
colors: {
  custom: {
    50: '#8573b5',
    500: '#4e3d95',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d95;
$custom-light: #8573b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d95",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 251.591,
    "s": 41.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42732,
    "c": 0.1385,
    "h": 288
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#4E3D95
secondary
#AAB578
accent
#D256BA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E3D95

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

Preview Lab → · Contrast checker → · Palette generator →

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