#4E3F97#4E3F97

#4E3F97 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.2% C 0.138 H 286.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4E3F97
RGBrgb(78, 63, 151)
HSLhsl(250, 41%, 42%)
HSVhsv(250, 58%, 59%)
CMYKcmyk(48.3%, 58.3%, 0%, 40.8%)
CIE-LABlab(32.72, 29.94, -46.36)
CIE-LCHlch(32.72, 55.19, 302.86°)
OKLaboklab(43.24% 0.0403 -0.1323)
OKLCHoklch(43.24% 0.138 286.9)
XYZxyz(10.5037, 7.4086, 30.1487)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3F97 #88973F
analogous
#3F5C97 #4E3F97 #7A3F97
triadic
#4E3F97 #974E3F #3F974E
tetradic
#4E3F97 #973F5C #88973F #3F977A
square
#4E3F97 #973F5C #88973F #3F977A
split-complementary
#4E3F97 #977A3F #5C973F
monochromatic
#211B41 #382D6C #4E3F97 #6A59BA #9185CC

Accessibility & contrast

On white

8.46
#4E3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E3F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3F97
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3F97#FFFFFF#000000##FFFFFF
##4E3F971.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F9A
Deuteranopia (green-blind)
#014B95
Tritanopia (blue-blind)
#365364
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3f97;
/* rgb */ color: rgb(78, 63, 151);
/* oklch */ color: oklch(43.2% 0.138 286.9);
Tailwind
colors: {
  custom: {
    50: '#8574b6',
    500: '#4e3f97',
    950: '#000000',
  },
}
SCSS
$custom: #4e3f97;
$custom-light: #8574b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3f97",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 250.227,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43239,
    "c": 0.13836,
    "h": 286.9
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#4E3F97
secondary
#ACB67C
accent
#D157BC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E3F97

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

Preview Lab → · Contrast checker → · Palette generator →

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