#4E2D92#4E2D92

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

Color values

HEX#4E2D92
RGBrgb(78, 45, 146)
HSLhsl(260, 53%, 37%)
HSVhsv(260, 69%, 57%)
CMYKcmyk(46.6%, 69.2%, 0%, 42.7%)
CIE-LABlab(28.30, 39.16, -50.46)
CIE-LCHlch(28.30, 63.87, 307.82°)
OKLaboklab(39.9% 0.061 -0.1444)
OKLCHoklch(39.9% 0.157 292.9)
XYZxyz(9.2671, 5.5715, 27.7757)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D92 #71922D
analogous
#2D3E92 #4E2D92 #812D92
triadic
#4E2D92 #924E2D #2D924E
tetradic
#4E2D92 #922D3E #71922D #2D9281
square
#4E2D92 #922D3E #71922D #2D9281
split-complementary
#4E2D92 #92812D #3E922D
monochromatic
#1C1034 #351F63 #4E2D92 #673BC1 #8B69D1

Accessibility & contrast

On white

9.93
#4E2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E2D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D92
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D92#FFFFFF#000000##FFFFFF
##4E2D921.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#3A465C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e2d92;
/* rgb */ color: rgb(78, 45, 146);
/* oklch */ color: oklch(39.9% 0.157 292.9);
Tailwind
colors: {
  custom: {
    50: '#8668b3',
    500: '#4e2d92',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d92;
$custom-light: #8668b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d92",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 259.604,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.15679,
    "h": 292.9
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#4E2D92
secondary
#9CB763
accent
#DC4CAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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