#4E2E85#4E2E85

#4E2E85 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.139 H 296.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4E2E85
RGBrgb(78, 46, 133)
HSLhsl(262, 49%, 35%)
HSVhsv(262, 65%, 52%)
CMYKcmyk(41.4%, 65.4%, 0%, 47.8%)
CIE-LABlab(27.48, 34.86, -43.73)
CIE-LCHlch(27.48, 55.93, 308.56°)
OKLaboklab(38.99% 0.0615 -0.1246)
OKLCHoklch(38.99% 0.139 296.3)
XYZxyz(8.3514, 5.2670, 22.7624)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E85 #65852E
analogous
#2E3A85 #4E2E85 #792E85
triadic
#4E2E85 #854E2E #2E854E
tetradic
#4E2E85 #852E3A #65852E #2E8579
square
#4E2E85 #852E3A #65852E #2E8579
split-complementary
#4E2E85 #85792E #3A852E
monochromatic
#190F2A #331E58 #4E2E85 #693EB2 #8964C9

Accessibility & contrast

On white

10.23
#4E2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4E2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E85
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E85#FFFFFF#000000##FFFFFF
##4E2E851.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#404255
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2e85;
/* rgb */ color: rgb(78, 46, 133);
/* oklch */ color: oklch(39.0% 0.139 296.3);
Tailwind
colors: {
  custom: {
    50: '#8469a9',
    500: '#4e2e85',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e85;
$custom-light: #8469a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e85",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 262.069,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38987,
    "c": 0.13901,
    "h": 296.3
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#4E2E85
secondary
#92B05F
accent
#D850A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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