#4E3470#4E3470

#4E3470 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.101 H 301.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4E3470
RGBrgb(78, 52, 112)
HSLhsl(266, 37%, 32%)
HSVhsv(266, 54%, 44%)
CMYKcmyk(30.4%, 53.6%, 0%, 56.1%)
CIE-LABlab(27.42, 25.31, -30.57)
CIE-LCHlch(27.42, 39.69, 309.62°)
OKLaboklab(38.48% 0.0535 -0.086)
OKLCHoklch(38.48% 0.101 301.9)
XYZxyz(7.2938, 5.2455, 15.9543)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3470 #567034
analogous
#343870 #4E3470 #6C3470
triadic
#4E3470 #704E34 #34704E
tetradic
#4E3470 #703438 #567034 #34706C
square
#4E3470 #703438 #567034 #34706C
split-complementary
#4E3470 #706C34 #387034
monochromatic
#140D1C #312146 #4E3470 #6B479A #8A66B8

Accessibility & contrast

On white

10.25
#4E3470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4E3470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3470
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3470#FFFFFF#000000##FFFFFF
##4E34701.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204072
Deuteranopia (green-blind)
#27416F
Tritanopia (blue-blind)
#483F4D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3470;
/* rgb */ color: rgb(78, 52, 112);
/* oklch */ color: oklch(38.5% 0.101 301.9);
Tailwind
colors: {
  custom: {
    50: '#826c99',
    500: '#4e3470',
    950: '#000000',
  },
}
SCSS
$custom: #4e3470;
$custom-light: #826c99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3470",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 112
  },
  "hsl": {
    "h": 266,
    "s": 36.585,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38482,
    "c": 0.10128,
    "h": 301.9
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#4E3470
secondary
#84A05F
accent
#CD5B9B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E3470

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

Preview Lab → · Contrast checker → · Palette generator →

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