#4E2280#4E2280

#4E2280 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.149 H 300.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#4E2280
RGBrgb(78, 34, 128)
HSLhsl(268, 58%, 32%)
HSVhsv(268, 73%, 50%)
CMYKcmyk(39.1%, 73.4%, 0%, 49.8%)
CIE-LABlab(24.71, 40.02, -45.09)
CIE-LCHlch(24.71, 60.29, 311.59°)
OKLaboklab(36.87% 0.0759 -0.1286)
OKLCHoklch(36.87% 0.149 300.5)
XYZxyz(7.6092, 4.3222, 20.8513)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2280 #548022
analogous
#222580 #4E2280 #7D2280
triadic
#4E2280 #804E22 #22804E
tetradic
#4E2280 #802225 #548022 #22807D
square
#4E2280 #802225 #548022 #22807D
split-complementary
#4E2280 #807D22 #258022
monochromatic
#13081F #311550 #4E2280 #6B2FB0 #8A4DD0

Accessibility & contrast

On white

11.26
#4E2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2280
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2280#FFFFFF#000000##FFFFFF
##4E22801.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2280;
/* rgb */ color: rgb(78, 34, 128);
/* oklch */ color: oklch(36.9% 0.149 300.5);
Tailwind
colors: {
  custom: {
    50: '#8461a6',
    500: '#4e2280',
    950: '#000000',
  },
}
SCSS
$custom: #4e2280;
$custom-light: #8461a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2280",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 268.085,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36873,
    "c": 0.14933,
    "h": 300.5
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#4E2280
secondary
#82B24B
accent
#E14799
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E2280

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

Preview Lab → · Contrast checker → · Palette generator →

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