#4E3479#4E3479

#4E3479 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.1% C 0.114 H 298.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4E3479
RGBrgb(78, 52, 121)
HSLhsl(263, 40%, 34%)
HSVhsv(263, 57%, 47%)
CMYKcmyk(35.5%, 57%, 0%, 52.5%)
CIE-LABlab(28.00, 27.83, -35.37)
CIE-LCHlch(28.00, 45.00, 308.20°)
OKLaboklab(39.09% 0.0541 -0.1001)
OKLCHoklch(39.09% 0.114 298.4)
XYZxyz(7.8202, 5.4561, 18.7266)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3479 #5F7934
analogous
#343D79 #4E3479 #713479
triadic
#4E3479 #794E34 #34794E
tetradic
#4E3479 #79343D #5F7934 #347971
square
#4E3479 #79343D #5F7934 #347971
split-complementary
#4E3479 #797134 #3D7934
monochromatic
#170F23 #32224E #4E3479 #6A46A4 #8969BE

Accessibility & contrast

On white

10.04
#4E3479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E3479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3479
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3479#FFFFFF#000000##FFFFFF
##4E34791.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#1F4177
Tritanopia (blue-blind)
#454251
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3479;
/* rgb */ color: rgb(78, 52, 121);
/* oklch */ color: oklch(39.1% 0.114 298.4);
Tailwind
colors: {
  custom: {
    50: '#826ca0',
    500: '#4e3479',
    950: '#000000',
  },
}
SCSS
$custom: #4e3479;
$custom-light: #826ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3479",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 262.609,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39092,
    "c": 0.11374,
    "h": 298.4
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#4E3479
secondary
#8DA762
accent
#D058A3
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #4E3479

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

Preview Lab → · Contrast checker → · Palette generator →

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