#4E2F90#4E2F90

#4E2F90 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.0% C 0.152 H 293.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4E2F90
RGBrgb(78, 47, 144)
HSLhsl(259, 51%, 37%)
HSVhsv(259, 67%, 56%)
CMYKcmyk(45.8%, 67.4%, 0%, 43.5%)
CIE-LABlab(28.55, 37.46, -48.82)
CIE-LCHlch(28.55, 61.53, 307.50°)
OKLaboklab(40.03% 0.0592 -0.1396)
OKLCHoklch(40.03% 0.152 293)
XYZxyz(9.1911, 5.6661, 26.9895)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F90 #71902F
analogous
#2F4190 #4E2F90 #7E2F90
triadic
#4E2F90 #904E2F #2F904E
tetradic
#4E2F90 #902F41 #71902F #2F907E
square
#4E2F90 #902F41 #71902F #2F907E
split-complementary
#4E2F90 #907E2F #41902F
monochromatic
#1C1134 #352062 #4E2F90 #673EBE #8B6BCF

Accessibility & contrast

On white

9.84
#4E2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F90
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F90#FFFFFF#000000##FFFFFF
##4E2F901.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#3B465B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e2f90;
/* rgb */ color: rgb(78, 47, 144);
/* oklch */ color: oklch(40.0% 0.152 293.0);
Tailwind
colors: {
  custom: {
    50: '#856ab1',
    500: '#4e2f90',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f90;
$custom-light: #856ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f90",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 259.175,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40032,
    "c": 0.15163,
    "h": 293
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#4E2F90
secondary
#9CB665
accent
#DA4EAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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