#4E2080#4E2080

#4E2080 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.152 H 300.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4E2080
RGBrgb(78, 32, 128)
HSLhsl(269, 60%, 31%)
HSVhsv(269, 75%, 50%)
CMYKcmyk(39.1%, 75%, 0%, 49.8%)
CIE-LABlab(24.36, 41.01, -45.66)
CIE-LCHlch(24.36, 61.38, 311.93°)
OKLaboklab(36.62% 0.078 -0.1303)
OKLCHoklch(36.62% 0.152 300.9)
XYZxyz(7.5537, 4.2112, 20.8328)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2080 #528020
analogous
#202280 #4E2080 #7E2080
triadic
#4E2080 #804E20 #20804E
tetradic
#4E2080 #802022 #528020 #20807E
square
#4E2080 #802022 #528020 #20807E
split-complementary
#4E2080 #807E20 #228020
monochromatic
#12081E #30144F #4E2080 #6C2CB1 #8A49D1

Accessibility & contrast

On white

11.40
#4E2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2080
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2080#FFFFFF#000000##FFFFFF
##4E20801.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#43384E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2080;
/* rgb */ color: rgb(78, 32, 128);
/* oklch */ color: oklch(36.6% 0.152 300.9);
Tailwind
colors: {
  custom: {
    50: '#8560a6',
    500: '#4e2080',
    950: '#000000',
  },
}
SCSS
$custom: #4e2080;
$custom-light: #8560a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2080",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 268.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36624,
    "c": 0.15183,
    "h": 300.9
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#4E2080
secondary
#80B349
accent
#E34597
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E2080

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

Preview Lab → · Contrast checker → · Palette generator →

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