#4E3678#4E3678

#4E3678 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.4% C 0.109 H 298.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#4E3678
RGBrgb(78, 54, 120)
HSLhsl(262, 38%, 34%)
HSVhsv(262, 55%, 47%)
CMYKcmyk(35%, 55%, 0%, 52.9%)
CIE-LABlab(28.42, 26.30, -34.06)
CIE-LCHlch(28.42, 43.03, 307.67°)
OKLaboklab(39.38% 0.0512 -0.0963)
OKLCHoklch(39.38% 0.109 298)
XYZxyz(7.8504, 5.6140, 18.4357)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3678 #607836
analogous
#363F78 #4E3678 #6F3678
triadic
#4E3678 #784E36 #36784E
tetradic
#4E3678 #78363F #607836 #36786F
square
#4E3678 #78363F #607836 #36786F
split-complementary
#4E3678 #786F36 #3F7836
monochromatic
#171024 #33234E #4E3678 #6949A2 #896CBD

Accessibility & contrast

On white

9.89
#4E3678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4E3678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3678
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3678#FFFFFF#000000##FFFFFF
##4E36781.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D437A
Deuteranopia (green-blind)
#234276
Tritanopia (blue-blind)
#454351
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3678;
/* rgb */ color: rgb(78, 54, 120);
/* oklch */ color: oklch(39.4% 0.109 298.0);
Tailwind
colors: {
  custom: {
    50: '#826e9f',
    500: '#4e3678',
    950: '#000000',
  },
}
SCSS
$custom: #4e3678;
$custom-light: #826e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3678",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 120
  },
  "hsl": {
    "h": 261.818,
    "s": 37.931,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.10902,
    "h": 298
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#4E3678
secondary
#8EA564
accent
#CE5AA4
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3678

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

Preview Lab → · Contrast checker → · Palette generator →

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