#4E2D94#4E2D94

#4E2D94 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.159 H 292.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4E2D94
RGBrgb(78, 45, 148)
HSLhsl(259, 53%, 38%)
HSVhsv(259, 70%, 58%)
CMYKcmyk(47.3%, 69.6%, 0%, 42%)
CIE-LABlab(28.47, 39.74, -51.42)
CIE-LCHlch(28.47, 64.98, 307.70°)
OKLaboklab(40.07% 0.0607 -0.1472)
OKLCHoklch(40.07% 0.159 292.4)
XYZxyz(9.4241, 5.6343, 28.6022)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D94 #73942D
analogous
#2D4094 #4E2D94 #812D94
triadic
#4E2D94 #944E2D #2D944E
tetradic
#4E2D94 #942D40 #73942D #2D9481
square
#4E2D94 #942D40 #73942D #2D9481
split-complementary
#4E2D94 #94812D #40942D
monochromatic
#1D1036 #351F65 #4E2D94 #673BC3 #8B6AD2

Accessibility & contrast

On white

9.87
#4E2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2D94
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D94#FFFFFF#000000##FFFFFF
##4E2D941.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#39475D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e2d94;
/* rgb */ color: rgb(78, 45, 148);
/* oklch */ color: oklch(40.1% 0.159 292.4);
Tailwind
colors: {
  custom: {
    50: '#8668b4',
    500: '#4e2d94',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d94;
$custom-light: #8668b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d94",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 259.223,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40074,
    "c": 0.15927,
    "h": 292.4
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#4E2D94
secondary
#9EB864
accent
#DD4BAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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