#4E367D#4E367D

#4E367D is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.7% C 0.116 H 296.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4E367D
RGBrgb(78, 54, 125)
HSLhsl(260, 40%, 35%)
HSVhsv(260, 57%, 49%)
CMYKcmyk(37.6%, 56.8%, 0%, 51%)
CIE-LABlab(28.74, 27.73, -36.69)
CIE-LCHlch(28.74, 45.99, 307.08°)
OKLaboklab(39.73% 0.0514 -0.104)
OKLCHoklch(39.73% 0.116 296.3)
XYZxyz(8.1618, 5.7386, 20.0757)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E367D #657D36
analogous
#36417D #4E367D #72367D
triadic
#4E367D #7D4E36 #367D4E
tetradic
#4E367D #7D3641 #657D36 #367D72
square
#4E367D #7D3641 #657D36 #367D72
split-complementary
#4E367D #7D7236 #417D36
monochromatic
#191128 #332452 #4E367D #6948A8 #896DC0

Accessibility & contrast

On white

9.78
#4E367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E367D
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E367D#FFFFFF#000000##FFFFFF
##4E367D1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#434454
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e367d;
/* rgb */ color: rgb(78, 54, 125);
/* oklch */ color: oklch(39.7% 0.116 296.3);
Tailwind
colors: {
  custom: {
    50: '#836ea3',
    500: '#4e367d',
    950: '#000000',
  },
}
SCSS
$custom: #4e367d;
$custom-light: #836ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e367d",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 260.282,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.11599,
    "h": 296.3
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#4E367D
secondary
#92A966
accent
#D058A7
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E367D

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

Preview Lab → · Contrast checker → · Palette generator →

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