#4E2380#4E2380

#4E2380 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.148 H 300.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#4E2380
RGBrgb(78, 35, 128)
HSLhsl(268, 57%, 32%)
HSVhsv(268, 73%, 50%)
CMYKcmyk(39.1%, 72.7%, 0%, 49.8%)
CIE-LABlab(24.89, 39.52, -44.80)
CIE-LCHlch(24.89, 59.74, 311.42°)
OKLaboklab(37% 0.0748 -0.1277)
OKLCHoklch(37% 0.148 300.4)
XYZxyz(7.6382, 4.3802, 20.8609)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2380 #558023
analogous
#232780 #4E2380 #7D2380
triadic
#4E2380 #804E23 #23804E
tetradic
#4E2380 #802327 #558023 #23807D
square
#4E2380 #802327 #558023 #23807D
split-complementary
#4E2380 #807D23 #278023
monochromatic
#130920 #311650 #4E2380 #6B30B0 #8A4FCF

Accessibility & contrast

On white

11.19
#4E2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2380
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2380#FFFFFF#000000##FFFFFF
##4E23801.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#43394F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2380;
/* rgb */ color: rgb(78, 35, 128);
/* oklch */ color: oklch(37.0% 0.148 300.4);
Tailwind
colors: {
  custom: {
    50: '#8462a6',
    500: '#4e2380',
    950: '#000000',
  },
}
SCSS
$custom: #4e2380;
$custom-light: #8462a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2380",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 267.742,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37002,
    "c": 0.14804,
    "h": 300.4
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#4E2380
secondary
#83B24D
accent
#E0479A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E2380

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

Preview Lab → · Contrast checker → · Palette generator →

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