#4E3475#4E3475

#4E3475 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.8% C 0.108 H 299.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4E3475
RGBrgb(78, 52, 117)
HSLhsl(264, 38%, 33%)
HSVhsv(264, 56%, 46%)
CMYKcmyk(33.3%, 55.6%, 0%, 54.1%)
CIE-LABlab(27.74, 26.70, -33.25)
CIE-LCHlch(27.74, 42.64, 308.76°)
OKLaboklab(38.82% 0.0539 -0.0939)
OKLCHoklch(38.82% 0.108 299.8)
XYZxyz(7.5800, 5.3600, 17.4614)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3475 #5B7534
analogous
#343A75 #4E3475 #6E3475
triadic
#4E3475 #754E34 #34754E
tetradic
#4E3475 #75343A #5B7534 #34756E
square
#4E3475 #75343A #5B7534 #34756E
split-complementary
#4E3475 #756E34 #3A7534
monochromatic
#160E20 #32214B #4E3475 #6A479F #8968BC

Accessibility & contrast

On white

10.14
#4E3475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E3475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3475
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3475#FFFFFF#000000##FFFFFF
##4E34751.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4177
Deuteranopia (green-blind)
#234173
Tritanopia (blue-blind)
#46414F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3475;
/* rgb */ color: rgb(78, 52, 117);
/* oklch */ color: oklch(38.8% 0.108 299.8);
Tailwind
colors: {
  custom: {
    50: '#826c9d',
    500: '#4e3475',
    950: '#000000',
  },
}
SCSS
$custom: #4e3475;
$custom-light: #826c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3475",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 117
  },
  "hsl": {
    "h": 264,
    "s": 38.462,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.10823,
    "h": 299.8
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#4E3475
secondary
#89A461
accent
#CE59A0
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3475

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

Preview Lab → · Contrast checker → · Palette generator →

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