#4E368C#4E368C

#4E368C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 40.8% C 0.136 H 292.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4E368C
RGBrgb(78, 54, 140)
HSLhsl(257, 44%, 38%)
HSVhsv(257, 61%, 55%)
CMYKcmyk(44.3%, 61.4%, 0%, 45.1%)
CIE-LABlab(29.79, 32.14, -44.34)
CIE-LCHlch(29.79, 54.77, 305.94°)
OKLaboklab(40.83% 0.0514 -0.1264)
OKLCHoklch(40.83% 0.136 292.1)
XYZxyz(9.1934, 6.1512, 25.5088)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E368C #748C36
analogous
#36498C #4E368C #79368C
triadic
#4E368C #8C4E36 #368C4E
tetradic
#4E368C #8C3649 #748C36 #368C79
square
#4E368C #8C3649 #748C36 #368C79
split-complementary
#4E368C #8C7936 #498C36
monochromatic
#1D1434 #352560 #4E368C #6747B8 #8B73C9

Accessibility & contrast

On white

9.42
#4E368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4E368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E368C
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E368C#FFFFFF#000000##FFFFFF
##4E368C1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#3D495B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e368c;
/* rgb */ color: rgb(78, 54, 140);
/* oklch */ color: oklch(40.8% 0.136 292.1);
Tailwind
colors: {
  custom: {
    50: '#846eae',
    500: '#4e368c',
    950: '#000000',
  },
}
SCSS
$custom: #4e368c;
$custom-light: #846eae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e368c",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 256.744,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40834,
    "c": 0.13649,
    "h": 292.1
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#4E368C
secondary
#9EB26C
accent
#D454B0
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E368C

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

Preview Lab → · Contrast checker → · Palette generator →

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