#4E3473#4E3473

#4E3473 is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.7% C 0.105 H 300.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4E3473
RGBrgb(78, 52, 115)
HSLhsl(265, 38%, 33%)
HSVhsv(265, 55%, 45%)
CMYKcmyk(32.2%, 54.8%, 0%, 54.9%)
CIE-LABlab(27.61, 26.14, -32.18)
CIE-LCHlch(27.61, 41.46, 309.08°)
OKLaboklab(38.68% 0.0537 -0.0907)
OKLCHoklch(38.68% 0.105 300.6)
XYZxyz(7.4637, 5.3135, 16.8487)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3473 #597334
analogous
#343973 #4E3473 #6E3473
triadic
#4E3473 #734E34 #34734E
tetradic
#4E3473 #733439 #597334 #34736E
square
#4E3473 #733439 #597334 #34736E
split-complementary
#4E3473 #736E34 #397334
monochromatic
#150E1F #312149 #4E3473 #6B479D #8967BA

Accessibility & contrast

On white

10.18
#4E3473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E3473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3473
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3473#FFFFFF#000000##FFFFFF
##4E34731.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4175
Deuteranopia (green-blind)
#254171
Tritanopia (blue-blind)
#47404E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3473;
/* rgb */ color: rgb(78, 52, 115);
/* oklch */ color: oklch(38.7% 0.105 300.6);
Tailwind
colors: {
  custom: {
    50: '#826c9c',
    500: '#4e3473',
    950: '#000000',
  },
}
SCSS
$custom: #4e3473;
$custom-light: #826c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3473",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 115
  },
  "hsl": {
    "h": 264.762,
    "s": 37.725,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.10545,
    "h": 300.6
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#4E3473
secondary
#87A360
accent
#CE5A9E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3473

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

Preview Lab → · Contrast checker → · Palette generator →

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