#4E2E90#4E2E90

#4E2E90 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.153 H 293.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4E2E90
RGBrgb(78, 46, 144)
HSLhsl(260, 52%, 37%)
HSVhsv(260, 68%, 56%)
CMYKcmyk(45.8%, 68.1%, 0%, 43.5%)
CIE-LABlab(28.35, 38.02, -49.16)
CIE-LCHlch(28.35, 62.15, 307.72°)
OKLaboklab(39.88% 0.0603 -0.1406)
OKLCHoklch(39.88% 0.153 293.2)
XYZxyz(9.1515, 5.5870, 26.9764)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E90 #70902E
analogous
#2E3F90 #4E2E90 #7F2E90
triadic
#4E2E90 #904E2E #2E904E
tetradic
#4E2E90 #902E3F #70902E #2E907F
square
#4E2E90 #902E3F #70902E #2E907F
split-complementary
#4E2E90 #907F2E #3F902E
monochromatic
#1C1033 #351F62 #4E2E90 #673DBE #8B69CF

Accessibility & contrast

On white

9.92
#4E2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4E2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E90
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E90#FFFFFF#000000##FFFFFF
##4E2E901.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2e90;
/* rgb */ color: rgb(78, 46, 144);
/* oklch */ color: oklch(39.9% 0.153 293.2);
Tailwind
colors: {
  custom: {
    50: '#8569b1',
    500: '#4e2e90',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e90;
$custom-light: #8569b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e90",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 259.592,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39882,
    "c": 0.15297,
    "h": 293.2
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#4E2E90
secondary
#9BB664
accent
#DB4DAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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