#4E3373#4E3373

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

Color values

HEX#4E3373
RGBrgb(78, 51, 115)
HSLhsl(265, 39%, 33%)
HSVhsv(265, 56%, 45%)
CMYKcmyk(32.2%, 55.7%, 0%, 54.9%)
CIE-LABlab(27.37, 26.76, -32.57)
CIE-LCHlch(27.37, 42.16, 309.41°)
OKLaboklab(38.5% 0.0552 -0.0919)
OKLCHoklch(38.5% 0.107 301)
XYZxyz(7.4195, 5.2251, 16.8340)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3373 #587333
analogous
#333873 #4E3373 #6E3373
triadic
#4E3373 #734E33 #33734E
tetradic
#4E3373 #733338 #587333 #33736E
square
#4E3373 #733338 #587333 #33736E
split-complementary
#4E3373 #736E33 #387333
monochromatic
#140D1E #312049 #4E3373 #6B469D #8A65BB

Accessibility & contrast

On white

10.27
#4E3373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3373
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3373#FFFFFF#000000##FFFFFF
##4E33731.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4075
Deuteranopia (green-blind)
#244071
Tritanopia (blue-blind)
#473F4E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3373;
/* rgb */ color: rgb(78, 51, 115);
/* oklch */ color: oklch(38.5% 0.107 301.0);
Tailwind
colors: {
  custom: {
    50: '#826b9c',
    500: '#4e3373',
    950: '#000000',
  },
}
SCSS
$custom: #4e3373;
$custom-light: #826b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3373",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 265.313,
    "s": 38.554,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38501,
    "c": 0.10717,
    "h": 301
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#4E3373
secondary
#86A35F
accent
#CE599D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3373

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

Preview Lab → · Contrast checker → · Palette generator →

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