#4E2382#4E2382

#4E2382 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.150 H 299.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#4E2382
RGBrgb(78, 35, 130)
HSLhsl(267, 58%, 32%)
HSVhsv(267, 73%, 51%)
CMYKcmyk(40%, 73.1%, 0%, 49%)
CIE-LABlab(25.06, 40.05, -45.79)
CIE-LCHlch(25.06, 60.83, 311.18°)
OKLaboklab(37.17% 0.0745 -0.1307)
OKLCHoklch(37.17% 0.15 299.7)
XYZxyz(7.7712, 4.4334, 21.5611)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2382 #578223
analogous
#232782 #4E2382 #7E2382
triadic
#4E2382 #824E23 #23824E
tetradic
#4E2382 #822327 #578223 #23827E
square
#4E2382 #822327 #578223 #23827E
split-complementary
#4E2382 #827E23 #278223
monochromatic
#140922 #311652 #4E2382 #6B30B2 #8A50D0

Accessibility & contrast

On white

11.13
#4E2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2382
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2382#FFFFFF#000000##FFFFFF
##4E23821.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#423A50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2382;
/* rgb */ color: rgb(78, 35, 130);
/* oklch */ color: oklch(37.2% 0.150 299.7);
Tailwind
colors: {
  custom: {
    50: '#8562a7',
    500: '#4e2382',
    950: '#000000',
  },
}
SCSS
$custom: #4e2382;
$custom-light: #8562a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2382",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 267.158,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37171,
    "c": 0.15038,
    "h": 299.7
  },
  "luminance": 0.04433
}

Semantic roles & 50–950 ramp

primary
#4E2382
secondary
#85B34D
accent
#E1479B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E2382

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

Preview Lab → · Contrast checker → · Palette generator →

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