#4E1B85#4E1B85

#4E1B85 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.163 H 300.0°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#4E1B85
RGBrgb(78, 27, 133)
HSLhsl(269, 66%, 31%)
HSVhsv(269, 80%, 52%)
CMYKcmyk(41.4%, 79.7%, 0%, 47.8%)
CIE-LABlab(23.99, 44.60, -49.41)
CIE-LCHlch(23.99, 66.56, 312.07°)
OKLaboklab(36.5% 0.0815 -0.1412)
OKLCHoklch(36.5% 0.163 300)
XYZxyz(7.7664, 4.0969, 22.5674)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B85 #52851B
analogous
#1B1D85 #4E1B85 #831B85
triadic
#4E1B85 #854E1B #1B854E
tetradic
#4E1B85 #851B1D #52851B #1B8583
square
#4E1B85 #851B1D #52851B #1B8583
split-complementary
#4E1B85 #85831B #1D851B
monochromatic
#12061F #301152 #4E1B85 #6C25B8 #8A42D9

Accessibility & contrast

On white

11.54
#4E1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B85
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B85#FFFFFF#000000##FFFFFF
##4E1B851.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#413750
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e1b85;
/* rgb */ color: rgb(78, 27, 133);
/* oklch */ color: oklch(36.5% 0.163 300.0);
Tailwind
colors: {
  custom: {
    50: '#855ea9',
    500: '#4e1b85',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b85;
$custom-light: #855ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b85",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 268.868,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.365,
    "c": 0.16306,
    "h": 300
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#4E1B85
secondary
#80B844
accent
#E93F97
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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