#4E3697#4E3697

#4E3697 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.7% C 0.151 H 289.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4E3697
RGBrgb(78, 54, 151)
HSLhsl(255, 47%, 40%)
HSVhsv(255, 64%, 59%)
CMYKcmyk(48.3%, 64.2%, 0%, 40.8%)
CIE-LABlab(30.62, 35.45, -49.75)
CIE-LCHlch(30.62, 61.09, 305.47°)
OKLaboklab(41.7% 0.0507 -0.1424)
OKLCHoklch(41.7% 0.151 289.6)
XYZxyz(10.0454, 6.4920, 29.9959)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3697 #7F9736
analogous
#364F97 #4E3697 #7E3697
triadic
#4E3697 #974E36 #36974E
tetradic
#4E3697 #97364F #7F9736 #36977E
square
#4E3697 #97364F #7F9736 #36977E
split-complementary
#4E3697 #977E36 #4F9736
monochromatic
#1F163D #37266A #4E3697 #684BBF #8E78CF

Accessibility & contrast

On white

9.14
#4E3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3697
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3697#FFFFFF#000000##FFFFFF
##4E36971.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#364D61
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3697;
/* rgb */ color: rgb(78, 54, 151);
/* oklch */ color: oklch(41.7% 0.151 289.6);
Tailwind
colors: {
  custom: {
    50: '#866eb6',
    500: '#4e3697',
    950: '#000000',
  },
}
SCSS
$custom: #4e3697;
$custom-light: #866eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3697",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 254.845,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.15112,
    "h": 289.6
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#4E3697
secondary
#A6B871
accent
#D751B6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3697

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

Preview Lab → · Contrast checker → · Palette generator →

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