#4E2480#4E2480

#4E2480 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.147 H 300.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4E2480
RGBrgb(78, 36, 128)
HSLhsl(267, 56%, 32%)
HSVhsv(267, 72%, 50%)
CMYKcmyk(39.1%, 71.9%, 0%, 49.8%)
CIE-LABlab(25.08, 39.00, -44.50)
CIE-LCHlch(25.08, 59.17, 311.23°)
OKLaboklab(37.13% 0.0737 -0.1269)
OKLCHoklch(37.13% 0.147 300.2)
XYZxyz(7.6681, 4.4399, 20.8709)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2480 #568024
analogous
#242880 #4E2480 #7C2480
triadic
#4E2480 #804E24 #24804E
tetradic
#4E2480 #802428 #568024 #24807C
square
#4E2480 #802428 #568024 #24807C
split-complementary
#4E2480 #807C24 #288024
monochromatic
#140920 #311750 #4E2480 #6B31B0 #8A50CE

Accessibility & contrast

On white

11.12
#4E2480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2480
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2480#FFFFFF#000000##FFFFFF
##4E24801.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#433A4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2480;
/* rgb */ color: rgb(78, 36, 128);
/* oklch */ color: oklch(37.1% 0.147 300.2);
Tailwind
colors: {
  custom: {
    50: '#8462a6',
    500: '#4e2480',
    950: '#000000',
  },
}
SCSS
$custom: #4e2480;
$custom-light: #8462a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2480",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 267.391,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37134,
    "c": 0.14673,
    "h": 300.2
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

primary
#4E2480
secondary
#84B24E
accent
#DF489A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E2480

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

Preview Lab → · Contrast checker → · Palette generator →

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