#4E368D#4E368D

#4E368D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 40.9% C 0.138 H 291.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4E368D
RGBrgb(78, 54, 141)
HSLhsl(257, 45%, 38%)
HSVhsv(257, 62%, 55%)
CMYKcmyk(44.7%, 61.7%, 0%, 44.7%)
CIE-LABlab(29.86, 32.44, -44.84)
CIE-LCHlch(29.86, 55.35, 305.88°)
OKLaboklab(40.91% 0.0514 -0.1279)
OKLCHoklch(40.91% 0.138 291.9)
XYZxyz(9.2674, 6.1808, 25.8989)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E368D #758D36
analogous
#36498D #4E368D #79368D
triadic
#4E368D #8D4E36 #368D4E
tetradic
#4E368D #8D3649 #758D36 #368D79
square
#4E368D #8D3649 #758D36 #368D79
split-complementary
#4E368D #8D7936 #498D36
monochromatic
#1D1434 #362561 #4E368D #6747B9 #8B74CA

Accessibility & contrast

On white

9.39
#4E368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E368D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E368D#FFFFFF#000000##FFFFFF
##4E368D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#3C4A5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e368d;
/* rgb */ color: rgb(78, 54, 141);
/* oklch */ color: oklch(40.9% 0.138 291.9);
Tailwind
colors: {
  custom: {
    50: '#846eaf',
    500: '#4e368d',
    950: '#000000',
  },
}
SCSS
$custom: #4e368d;
$custom-light: #846eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e368d",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 256.552,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.13784,
    "h": 291.9
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#4E368D
secondary
#9FB26D
accent
#D453B1
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E368D

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

Preview Lab → · Contrast checker → · Palette generator →

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