#4E2B95#4E2B95

#4E2B95 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.163 H 292.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4E2B95
RGBrgb(78, 43, 149)
HSLhsl(260, 55%, 38%)
HSVhsv(260, 71%, 58%)
CMYKcmyk(47.7%, 71.1%, 0%, 41.6%)
CIE-LABlab(28.16, 41.12, -52.54)
CIE-LCHlch(28.16, 66.71, 308.05°)
OKLaboklab(39.88% 0.0626 -0.1505)
OKLCHoklch(39.88% 0.163 292.6)
XYZxyz(9.4291, 5.5171, 28.9960)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B95 #72952B
analogous
#2B3D95 #4E2B95 #832B95
triadic
#4E2B95 #954E2B #2B954E
tetradic
#4E2B95 #952B3D #72952B #2B9583
square
#4E2B95 #952B3D #72952B #2B9583
split-complementary
#4E2B95 #95832B #3D952B
monochromatic
#1C1036 #351D66 #4E2B95 #6739C4 #8B67D3

Accessibility & contrast

On white

9.98
#4E2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2B95
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B95#FFFFFF#000000##FFFFFF
##4E2B951.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#38465D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2b95;
/* rgb */ color: rgb(78, 43, 149);
/* oklch */ color: oklch(39.9% 0.163 292.6);
Tailwind
colors: {
  custom: {
    50: '#8667b5',
    500: '#4e2b95',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b95;
$custom-light: #8667b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b95",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 259.811,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.16301,
    "h": 292.6
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#4E2B95
secondary
#9DBA62
accent
#DF49AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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