#4E3071#4E3071

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

Color values

HEX#4E3071
RGBrgb(78, 48, 113)
HSLhsl(268, 40%, 32%)
HSVhsv(268, 58%, 44%)
CMYKcmyk(31%, 57.5%, 0%, 55.7%)
CIE-LABlab(26.52, 28.07, -32.65)
CIE-LCHlch(26.52, 43.05, 310.69°)
OKLaboklab(37.84% 0.0594 -0.0921)
OKLCHoklch(37.84% 0.11 302.8)
XYZxyz(7.1788, 4.9259, 16.1922)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3071 #537130
analogous
#303371 #4E3071 #6F3071
triadic
#4E3071 #714E30 #30714E
tetradic
#4E3071 #713033 #537130 #30716F
square
#4E3071 #713033 #537130 #30716F
split-complementary
#4E3071 #716F30 #337130
monochromatic
#130C1B #301E46 #4E3071 #6C429C #8A60BB

Accessibility & contrast

On white

10.58
#4E3071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E3071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3071
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3071#FFFFFF#000000##FFFFFF
##4E30711.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#223F6F
Tritanopia (blue-blind)
#473C4B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3071;
/* rgb */ color: rgb(78, 48, 113);
/* oklch */ color: oklch(37.8% 0.110 302.8);
Tailwind
colors: {
  custom: {
    50: '#82699a',
    500: '#4e3071',
    950: '#000000',
  },
}
SCSS
$custom: #4e3071;
$custom-light: #82699a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3071",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 267.692,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37836,
    "c": 0.10958,
    "h": 302.8
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#4E3071
secondary
#81A25B
accent
#D05899
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3071

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

Preview Lab → · Contrast checker → · Palette generator →

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