#4E3070#4E3070

#4E3070 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.8% C 0.108 H 303.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#4E3070
RGBrgb(78, 48, 112)
HSLhsl(268, 40%, 31%)
HSVhsv(268, 57%, 44%)
CMYKcmyk(30.4%, 57.1%, 0%, 56.1%)
CIE-LABlab(26.46, 27.79, -32.11)
CIE-LCHlch(26.46, 42.47, 310.88°)
OKLaboklab(37.77% 0.0593 -0.0905)
OKLCHoklch(37.77% 0.108 303.2)
XYZxyz(7.1228, 4.9035, 15.8973)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3070 #527030
analogous
#303270 #4E3070 #6E3070
triadic
#4E3070 #704E30 #30704E
tetradic
#4E3070 #703032 #527030 #30706E
square
#4E3070 #703032 #527030 #30706E
split-complementary
#4E3070 #706E30 #327030
monochromatic
#120B1A #301E45 #4E3070 #6C429B #8A60BB

Accessibility & contrast

On white

10.60
#4E3070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E3070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3070
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3070#FFFFFF#000000##FFFFFF
##4E30701.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#233E6E
Tritanopia (blue-blind)
#483C4B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3070;
/* rgb */ color: rgb(78, 48, 112);
/* oklch */ color: oklch(37.8% 0.108 303.2);
Tailwind
colors: {
  custom: {
    50: '#826999',
    500: '#4e3070',
    950: '#000000',
  },
}
SCSS
$custom: #4e3070;
$custom-light: #826999;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3070",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 112
  },
  "hsl": {
    "h": 268.125,
    "s": 40,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37768,
    "c": 0.10824,
    "h": 303.2
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#4E3070
secondary
#80A15B
accent
#D05898
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3070

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

Preview Lab → · Contrast checker → · Palette generator →

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