#4E3668#4E3668

#4E3668 is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.4% C 0.086 H 304.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4E3668
RGBrgb(78, 54, 104)
HSLhsl(269, 32%, 31%)
HSVhsv(269, 48%, 41%)
CMYKcmyk(25%, 48.1%, 0%, 59.2%)
CIE-LABlab(27.46, 21.86, -25.40)
CIE-LCHlch(27.46, 33.51, 310.72°)
OKLaboklab(38.35% 0.0493 -0.0709)
OKLCHoklch(38.35% 0.086 304.8)
XYZxyz(6.9592, 5.2575, 13.7422)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3668 #506836
analogous
#363768 #4E3668 #673668
triadic
#4E3668 #684E36 #36684E
tetradic
#4E3668 #683637 #506836 #366867
square
#4E3668 #683637 #506836 #366867
split-complementary
#4E3668 #686736 #376836
monochromatic
#120C17 #302140 #4E3668 #6C4B90 #8B68B1

Accessibility & contrast

On white

10.24
#4E3668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4E3668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3668
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3668#FFFFFF#000000##FFFFFF
##4E36681.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29406A
Deuteranopia (green-blind)
#2F4167
Tritanopia (blue-blind)
#4A3E4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3668;
/* rgb */ color: rgb(78, 54, 104);
/* oklch */ color: oklch(38.4% 0.086 304.8);
Tailwind
colors: {
  custom: {
    50: '#816d93',
    500: '#4e3668',
    950: '#000000',
  },
}
SCSS
$custom: #4e3668;
$custom-light: #816d93;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3668",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 104
  },
  "hsl": {
    "h": 268.8,
    "s": 31.646,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38354,
    "c": 0.08641,
    "h": 304.8
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#4E3668
secondary
#7E9961
accent
#C86096
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E3668

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

Preview Lab → · Contrast checker → · Palette generator →

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