#4E3971#4E3971

#4E3971 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.5% C 0.094 H 299.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4E3971
RGBrgb(78, 57, 113)
HSLhsl(263, 33%, 33%)
HSVhsv(263, 50%, 44%)
CMYKcmyk(31%, 49.6%, 0%, 55.7%)
CIE-LABlab(28.74, 22.41, -29.11)
CIE-LCHlch(28.74, 36.74, 307.59°)
OKLaboklab(39.49% 0.0461 -0.0818)
OKLCHoklch(39.49% 0.094 299.4)
XYZxyz(7.5849, 5.7382, 16.3276)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3971 #5C7139
analogous
#394071 #4E3971 #6A3971
triadic
#4E3971 #714E39 #39714E
tetradic
#4E3971 #713940 #5C7139 #39716A
square
#4E3971 #713940 #5C7139 #39716A
split-complementary
#4E3971 #716A39 #407139
monochromatic
#161020 #322448 #4E3971 #6A4E9A #896EB6

Accessibility & contrast

On white

9.78
#4E3971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E3971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3971
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3971#FFFFFF#000000##FFFFFF
##4E39711.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#2C4370
Tritanopia (blue-blind)
#47434F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3971;
/* rgb */ color: rgb(78, 57, 113);
/* oklch */ color: oklch(39.5% 0.094 299.4);
Tailwind
colors: {
  custom: {
    50: '#81709a',
    500: '#4e3971',
    950: '#000000',
  },
}
SCSS
$custom: #4e3971;
$custom-light: #81709a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3971",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 262.5,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39485,
    "c": 0.09386,
    "h": 299.4
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#4E3971
secondary
#8AA066
accent
#C95FA1
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E3971

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

Preview Lab → · Contrast checker → · Palette generator →

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