#4E3679#4E3679

#4E3679 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.5% C 0.110 H 297.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4E3679
RGBrgb(78, 54, 121)
HSLhsl(261, 38%, 34%)
HSVhsv(261, 55%, 47%)
CMYKcmyk(35.5%, 55.4%, 0%, 52.5%)
CIE-LABlab(28.48, 26.58, -34.59)
CIE-LCHlch(28.48, 43.63, 307.54°)
OKLaboklab(39.45% 0.0512 -0.0978)
OKLCHoklch(39.45% 0.11 297.7)
XYZxyz(7.9114, 5.6384, 18.7570)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3679 #617936
analogous
#363F79 #4E3679 #703679
triadic
#4E3679 #794E36 #36794E
tetradic
#4E3679 #79363F #617936 #367970
square
#4E3679 #79363F #617936 #367970
split-complementary
#4E3679 #797036 #3F7936
monochromatic
#171024 #33234F #4E3679 #6949A3 #896CBD

Accessibility & contrast

On white

9.87
#4E3679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E3679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3679
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3679#FFFFFF#000000##FFFFFF
##4E36791.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#444352
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3679;
/* rgb */ color: rgb(78, 54, 121);
/* oklch */ color: oklch(39.5% 0.110 297.7);
Tailwind
colors: {
  custom: {
    50: '#826ea0',
    500: '#4e3679',
    950: '#000000',
  },
}
SCSS
$custom: #4e3679;
$custom-light: #826ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3679",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 121
  },
  "hsl": {
    "h": 261.493,
    "s": 38.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.11041,
    "h": 297.7
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#4E3679
secondary
#8FA665
accent
#CE5AA4
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #4E3679

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

Preview Lab → · Contrast checker → · Palette generator →

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