#4E3579#4E3579

#4E3579 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.3% C 0.112 H 298.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4E3579
RGBrgb(78, 53, 121)
HSLhsl(262, 39%, 34%)
HSVhsv(262, 56%, 47%)
CMYKcmyk(35.5%, 56.2%, 0%, 52.5%)
CIE-LABlab(28.24, 27.21, -34.98)
CIE-LCHlch(28.24, 44.32, 307.87°)
OKLaboklab(39.27% 0.0527 -0.0989)
OKLCHoklch(39.27% 0.112 298)
XYZxyz(7.8653, 5.5463, 18.7416)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3579 #607935
analogous
#353E79 #4E3579 #703579
triadic
#4E3579 #794E35 #35794E
tetradic
#4E3579 #79353E #607935 #357970
square
#4E3579 #79353E #607935 #357970
split-complementary
#4E3579 #797035 #3E7935
monochromatic
#171024 #33224E #4E3579 #6948A4 #896ABE

Accessibility & contrast

On white

9.96
#4E3579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E3579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3579
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3579#FFFFFF#000000##FFFFFF
##4E35791.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#214277
Tritanopia (blue-blind)
#454351
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3579;
/* rgb */ color: rgb(78, 53, 121);
/* oklch */ color: oklch(39.3% 0.112 298.0);
Tailwind
colors: {
  custom: {
    50: '#826da0',
    500: '#4e3579',
    950: '#000000',
  },
}
SCSS
$custom: #4e3579;
$custom-light: #826da0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3579",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 121
  },
  "hsl": {
    "h": 262.059,
    "s": 39.08,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3927,
    "c": 0.11209,
    "h": 298
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#4E3579
secondary
#8EA663
accent
#CF59A4
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #4E3579

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

Preview Lab → · Contrast checker → · Palette generator →

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