#4E368F#4E368F

#4E368F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.1% C 0.141 H 291.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4E368F
RGBrgb(78, 54, 143)
HSLhsl(256, 45%, 39%)
HSVhsv(256, 62%, 56%)
CMYKcmyk(45.5%, 62.2%, 0%, 43.9%)
CIE-LABlab(30.01, 33.04, -45.84)
CIE-LCHlch(30.01, 56.50, 305.79°)
OKLaboklab(41.07% 0.0513 -0.1308)
OKLCHoklch(41.07% 0.141 291.4)
XYZxyz(9.4176, 6.2409, 26.6897)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E368F #778F36
analogous
#364A8F #4E368F #7A368F
triadic
#4E368F #8F4E36 #368F4E
tetradic
#4E368F #8F364A #778F36 #368F7A
square
#4E368F #8F364A #778F36 #368F7A
split-complementary
#4E368F #8F7A36 #4A8F36
monochromatic
#1E1436 #362563 #4E368F #6748BA #8C75CB

Accessibility & contrast

On white

9.34
#4E368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E368F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E368F#FFFFFF#000000##FFFFFF
##4E368F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#3B4A5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e368f;
/* rgb */ color: rgb(78, 54, 143);
/* oklch */ color: oklch(41.1% 0.141 291.4);
Tailwind
colors: {
  custom: {
    50: '#856eb0',
    500: '#4e368f',
    950: '#000000',
  },
}
SCSS
$custom: #4e368f;
$custom-light: #856eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e368f",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 256.18,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41066,
    "c": 0.14052,
    "h": 291.4
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#4E368F
secondary
#A1B36D
accent
#D553B2
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E368F

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

Preview Lab → · Contrast checker → · Palette generator →

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