#4E2D85#4E2D85

#4E2D85 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.140 H 296.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4E2D85
RGBrgb(78, 45, 133)
HSLhsl(263, 49%, 35%)
HSVhsv(263, 66%, 52%)
CMYKcmyk(41.4%, 66.2%, 0%, 47.8%)
CIE-LABlab(27.27, 35.44, -44.08)
CIE-LCHlch(27.27, 56.56, 308.80°)
OKLaboklab(38.83% 0.0627 -0.1257)
OKLCHoklch(38.83% 0.14 296.5)
XYZxyz(8.3128, 5.1898, 22.7495)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D85 #64852D
analogous
#2D3885 #4E2D85 #7A2D85
triadic
#4E2D85 #854E2D #2D854E
tetradic
#4E2D85 #852D38 #64852D #2D857A
square
#4E2D85 #852D38 #64852D #2D857A
split-complementary
#4E2D85 #857A2D #38852D
monochromatic
#180E2A #331E57 #4E2D85 #693CB3 #8962CA

Accessibility & contrast

On white

10.30
#4E2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D85
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D85#FFFFFF#000000##FFFFFF
##4E2D851.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#404155
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2d85;
/* rgb */ color: rgb(78, 45, 133);
/* oklch */ color: oklch(38.8% 0.140 296.5);
Tailwind
colors: {
  custom: {
    50: '#8468a9',
    500: '#4e2d85',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d85;
$custom-light: #8468a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d85",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 262.5,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38833,
    "c": 0.14045,
    "h": 296.5
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#4E2D85
secondary
#91B05D
accent
#D94FA5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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