#4E3D80#4E3D80

#4E3D80 is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.2% C 0.109 H 292.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4E3D80
RGBrgb(78, 61, 128)
HSLhsl(255, 35%, 37%)
HSVhsv(255, 52%, 50%)
CMYKcmyk(39.1%, 52.3%, 0%, 49.8%)
CIE-LABlab(30.68, 24.19, -35.47)
CIE-LCHlch(30.68, 42.94, 304.29°)
OKLaboklab(41.23% 0.0419 -0.1004)
OKLCHoklch(41.23% 0.109 292.7)
XYZxyz(8.7059, 6.5155, 21.2168)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D80 #6F803D
analogous
#3D4E80 #4E3D80 #703D80
triadic
#4E3D80 #804E3D #3D804E
tetradic
#4E3D80 #803D4E #6F803D #3D8070
square
#4E3D80 #803D4E #6F803D #3D8070
split-complementary
#4E3D80 #80703D #4E803D
monochromatic
#1B152D #352957 #4E3D80 #6751A9 #8A78BF

Accessibility & contrast

On white

9.12
#4E3D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E3D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D80
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D80#FFFFFF#000000##FFFFFF
##4E3D801.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#25477E
Tritanopia (blue-blind)
#414A58
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3d80;
/* rgb */ color: rgb(78, 61, 128);
/* oklch */ color: oklch(41.2% 0.109 292.7);
Tailwind
colors: {
  custom: {
    50: '#8273a5',
    500: '#4e3d80',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d80;
$custom-light: #8273a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d80",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 255.224,
    "s": 35.45,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.10879,
    "h": 292.7
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#4E3D80
secondary
#9AA970
accent
#CB5CAF
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E3D80

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

Preview Lab → · Contrast checker → · Palette generator →

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