#4E2B93#4E2B93

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

Color values

HEX#4E2B93
RGBrgb(78, 43, 147)
HSLhsl(260, 55%, 37%)
HSVhsv(260, 71%, 58%)
CMYKcmyk(46.9%, 70.7%, 0%, 42.4%)
CIE-LABlab(27.99, 40.55, -51.58)
CIE-LCHlch(27.99, 65.61, 308.17°)
OKLaboklab(39.71% 0.0629 -0.1477)
OKLCHoklch(39.71% 0.161 293.1)
XYZxyz(9.2708, 5.4537, 28.1623)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B93 #70932B
analogous
#2B3C93 #4E2B93 #822B93
triadic
#4E2B93 #934E2B #2B934E
tetradic
#4E2B93 #932B3C #70932B #2B9382
square
#4E2B93 #932B3C #70932B #2B9382
split-complementary
#4E2B93 #93822B #3C932B
monochromatic
#1C0F34 #351D64 #4E2B93 #6739C2 #8B66D2

Accessibility & contrast

On white

10.04
#4E2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E2B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B93
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B93#FFFFFF#000000##FFFFFF
##4E2B931.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#3A455B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2b93;
/* rgb */ color: rgb(78, 43, 147);
/* oklch */ color: oklch(39.7% 0.161 293.1);
Tailwind
colors: {
  custom: {
    50: '#8667b4',
    500: '#4e2b93',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b93;
$custom-light: #8667b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b93",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 260.192,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39705,
    "c": 0.16057,
    "h": 293.1
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#4E2B93
secondary
#9BB961
accent
#DE4AAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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