#4E367B#4E367B

#4E367B is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.113 H 297.0°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4E367B
RGBrgb(78, 54, 123)
HSLhsl(261, 39%, 35%)
HSVhsv(261, 56%, 48%)
CMYKcmyk(36.6%, 56.1%, 0%, 51.8%)
CIE-LABlab(28.61, 27.15, -35.64)
CIE-LCHlch(28.61, 44.81, 307.30°)
OKLaboklab(39.59% 0.0514 -0.1009)
OKLCHoklch(39.59% 0.113 297)
XYZxyz(8.0353, 5.6880, 19.4096)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E367B #637B36
analogous
#36407B #4E367B #71367B
triadic
#4E367B #7B4E36 #367B4E
tetradic
#4E367B #7B3640 #637B36 #367B71
square
#4E367B #7B3640 #637B36 #367B71
split-complementary
#4E367B #7B7136 #407B36
monochromatic
#181126 #332350 #4E367B #6949A6 #896DBF

Accessibility & contrast

On white

9.82
#4E367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E367B
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E367B#FFFFFF#000000##FFFFFF
##4E367B1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#204379
Tritanopia (blue-blind)
#444453
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e367b;
/* rgb */ color: rgb(78, 54, 123);
/* oklch */ color: oklch(39.6% 0.113 297.0);
Tailwind
colors: {
  custom: {
    50: '#826ea2',
    500: '#4e367b',
    950: '#000000',
  },
}
SCSS
$custom: #4e367b;
$custom-light: #826ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e367b",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 260.87,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39589,
    "c": 0.11321,
    "h": 297
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#4E367B
secondary
#90A765
accent
#CF59A6
background
#F8F6FA
surface
#EFECF3
border
#CAC7CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E367B

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

Preview Lab → · Contrast checker → · Palette generator →

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