#4E367A#4E367A

#4E367A is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.5% C 0.112 H 297.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4E367A
RGBrgb(78, 54, 122)
HSLhsl(261, 39%, 35%)
HSVhsv(261, 56%, 48%)
CMYKcmyk(36.1%, 55.7%, 0%, 52.2%)
CIE-LABlab(28.55, 26.87, -35.12)
CIE-LCHlch(28.55, 44.22, 307.42°)
OKLaboklab(39.52% 0.0513 -0.0993)
OKLCHoklch(39.52% 0.112 297.3)
XYZxyz(7.9730, 5.6631, 19.0816)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E367A #627A36
analogous
#36407A #4E367A #70367A
triadic
#4E367A #7A4E36 #367A4E
tetradic
#4E367A #7A3640 #627A36 #367A70
square
#4E367A #7A3640 #627A36 #367A70
split-complementary
#4E367A #7A7036 #407A36
monochromatic
#181025 #332350 #4E367A #6949A4 #896CBE

Accessibility & contrast

On white

9.85
#4E367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E367A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E367A#FFFFFF#000000##FFFFFF
##4E367A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#214378
Tritanopia (blue-blind)
#444452
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e367a;
/* rgb */ color: rgb(78, 54, 122);
/* oklch */ color: oklch(39.5% 0.112 297.3);
Tailwind
colors: {
  custom: {
    50: '#826ea1',
    500: '#4e367a',
    950: '#000000',
  },
}
SCSS
$custom: #4e367a;
$custom-light: #826ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e367a",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 261.176,
    "s": 38.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39519,
    "c": 0.11181,
    "h": 297.3
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#4E367A
secondary
#90A765
accent
#CF59A5
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #4E367A

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

Preview Lab → · Contrast checker → · Palette generator →

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