#4E357B#4E357B

#4E357B is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.4% C 0.115 H 297.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4E357B
RGBrgb(78, 53, 123)
HSLhsl(261, 40%, 35%)
HSVhsv(261, 57%, 48%)
CMYKcmyk(36.6%, 56.9%, 0%, 51.8%)
CIE-LABlab(28.37, 27.78, -36.03)
CIE-LCHlch(28.37, 45.50, 307.63°)
OKLaboklab(39.41% 0.0527 -0.102)
OKLCHoklch(39.41% 0.115 297.3)
XYZxyz(7.9892, 5.5959, 19.3942)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E357B #627B35
analogous
#353F7B #4E357B #71357B
triadic
#4E357B #7B4E35 #357B4E
tetradic
#4E357B #7B353F #627B35 #357B71
square
#4E357B #7B353F #627B35 #357B71
split-complementary
#4E357B #7B7135 #3F7B35
monochromatic
#181025 #332350 #4E357B #6947A6 #896BBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E357B#FFFFFF#000000##FFFFFF
##4E357B1.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)
#17437D
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#444352
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e357b;
/* rgb */ color: rgb(78, 53, 123);
/* oklch */ color: oklch(39.4% 0.115 297.3);
Tailwind
colors: {
  custom: {
    50: '#826da2',
    500: '#4e357b',
    950: '#000000',
  },
}
SCSS
$custom: #4e357b;
$custom-light: #826da2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e357b",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 123
  },
  "hsl": {
    "h": 261.429,
    "s": 39.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3941,
    "c": 0.11485,
    "h": 297.3
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#4E357B
secondary
#90A864
accent
#D058A5
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E357B

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

Preview Lab → · Contrast checker → · Palette generator →

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