#4E2D90#4E2D90

#4E2D90 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.154 H 293.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4E2D90
RGBrgb(78, 45, 144)
HSLhsl(260, 52%, 37%)
HSVhsv(260, 69%, 56%)
CMYKcmyk(45.8%, 68.7%, 0%, 43.5%)
CIE-LABlab(28.14, 38.59, -49.49)
CIE-LCHlch(28.14, 62.75, 307.94°)
OKLaboklab(39.74% 0.0614 -0.1416)
OKLCHoklch(39.74% 0.154 293.4)
XYZxyz(9.1129, 5.5098, 26.9635)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D90 #6F902D
analogous
#2D3E90 #4E2D90 #802D90
triadic
#4E2D90 #904E2D #2D904E
tetradic
#4E2D90 #902D3E #6F902D #2D9080
square
#4E2D90 #902D3E #6F902D #2D9080
split-complementary
#4E2D90 #90802D #3E902D
monochromatic
#1B1033 #351E61 #4E2D90 #673CBF #8A68D0

Accessibility & contrast

On white

9.99
#4E2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D90
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D90#FFFFFF#000000##FFFFFF
##4E2D901.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2d90;
/* rgb */ color: rgb(78, 45, 144);
/* oklch */ color: oklch(39.7% 0.154 293.4);
Tailwind
colors: {
  custom: {
    50: '#8668b1',
    500: '#4e2d90',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d90;
$custom-light: #8668b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d90",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 260,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39735,
    "c": 0.1543,
    "h": 293.4
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#4E2D90
secondary
#9AB662
accent
#DC4CAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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