#4E3E71#4E3E71

#4E3E71 is a dark, moderate violet. Relative luminance 0.063; OKLCH L 40.5% C 0.085 H 296.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4E3E71
RGBrgb(78, 62, 113)
HSLhsl(259, 29%, 34%)
HSVhsv(259, 45%, 44%)
CMYKcmyk(31%, 45.1%, 0%, 55.7%)
CIE-LABlab(30.05, 19.19, -27.04)
CIE-LCHlch(30.05, 33.16, 305.36°)
OKLaboklab(40.47% 0.0384 -0.0758)
OKLCHoklch(40.47% 0.085 296.9)
XYZxyz(7.8444, 6.2571, 16.4140)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3E71 #61713E
analogous
#3E4871 #4E3E71 #683E71
triadic
#4E3E71 #714E3E #3E714E
tetradic
#4E3E71 #713E48 #61713E #3E7168
square
#4E3E71 #713E48 #61713E #3E7168
split-complementary
#4E3E71 #71683E #48713E
monochromatic
#171322 #332849 #4E3E71 #695499 #8976B4

Accessibility & contrast

On white

9.33
#4E3E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E3E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3E71
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3E71#FFFFFF#000000##FFFFFF
##4E3E711.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#324670
Tritanopia (blue-blind)
#474752
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3e71;
/* rgb */ color: rgb(78, 62, 113);
/* oklch */ color: oklch(40.5% 0.085 296.9);
Tailwind
colors: {
  custom: {
    50: '#81739a',
    500: '#4e3e71',
    950: '#000000',
  },
}
SCSS
$custom: #4e3e71;
$custom-light: #81739a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3e71",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 258.824,
    "s": 29.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4047,
    "c": 0.08495,
    "h": 296.9
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#4E3E71
secondary
#8F9E6D
accent
#C562A6
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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