#4E2085#4E2085

#4E2085 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.157 H 299.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4E2085
RGBrgb(78, 32, 133)
HSLhsl(267, 61%, 32%)
HSVhsv(267, 76%, 52%)
CMYKcmyk(41.4%, 75.9%, 0%, 47.8%)
CIE-LABlab(24.78, 42.33, -48.11)
CIE-LCHlch(24.78, 64.08, 311.34°)
OKLaboklab(37.06% 0.0769 -0.1375)
OKLCHoklch(37.06% 0.157 299.2)
XYZxyz(7.8910, 4.3461, 22.6089)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2085 #578520
analogous
#202485 #4E2085 #812085
triadic
#4E2085 #854E20 #20854E
tetradic
#4E2085 #852024 #578520 #208581
square
#4E2085 #852024 #578520 #208581
split-complementary
#4E2085 #858120 #248520
monochromatic
#140822 #311454 #4E2085 #6B2CB6 #8A4CD4

Accessibility & contrast

On white

11.23
#4E2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2085
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2085#FFFFFF#000000##FFFFFF
##4E20851.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#413A51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2085;
/* rgb */ color: rgb(78, 32, 133);
/* oklch */ color: oklch(37.1% 0.157 299.2);
Tailwind
colors: {
  custom: {
    50: '#8560a9',
    500: '#4e2085',
    950: '#000000',
  },
}
SCSS
$custom: #4e2085;
$custom-light: #8560a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2085",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 267.327,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37058,
    "c": 0.15749,
    "h": 299.2
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#4E2085
secondary
#85B74A
accent
#E4439B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E2085

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

Preview Lab → · Contrast checker → · Palette generator →

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