#4E357D#4E357D

#4E357D is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.6% C 0.118 H 296.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4E357D
RGBrgb(78, 53, 125)
HSLhsl(261, 40%, 35%)
HSVhsv(261, 58%, 49%)
CMYKcmyk(37.6%, 57.6%, 0%, 51%)
CIE-LABlab(28.50, 28.35, -37.08)
CIE-LCHlch(28.50, 46.67, 307.41°)
OKLaboklab(39.55% 0.0528 -0.1051)
OKLCHoklch(39.55% 0.118 296.7)
XYZxyz(8.1157, 5.6464, 20.0604)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E357D #647D35
analogous
#35407D #4E357D #72357D
triadic
#4E357D #7D4E35 #357D4E
tetradic
#4E357D #7D3540 #647D35 #357D72
square
#4E357D #7D3540 #647D35 #357D72
split-complementary
#4E357D #7D7235 #407D35
monochromatic
#181127 #332352 #4E357D #6947A8 #896CC1

Accessibility & contrast

On white

9.86
#4E357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E357D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E357D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E357D#FFFFFF#000000##FFFFFF
##4E357D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14447F
Deuteranopia (green-blind)
#1C427B
Tritanopia (blue-blind)
#434453
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e357d;
/* rgb */ color: rgb(78, 53, 125);
/* oklch */ color: oklch(39.6% 0.118 296.7);
Tailwind
colors: {
  custom: {
    50: '#836da3',
    500: '#4e357d',
    950: '#000000',
  },
}
SCSS
$custom: #4e357d;
$custom-light: #836da3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e357d",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 260.833,
    "s": 40.449,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39551,
    "c": 0.11761,
    "h": 296.7
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#4E357D
secondary
#91A965
accent
#D057A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E357D

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

Preview Lab → · Contrast checker → · Palette generator →

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