#4E1680#4E1680

#4E1680 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.163 H 302.4°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#4E1680
RGBrgb(78, 22, 128)
HSLhsl(272, 71%, 29%)
HSVhsv(272, 83%, 50%)
CMYKcmyk(39.1%, 82.8%, 0%, 49.8%)
CIE-LABlab(22.83, 45.38, -48.15)
CIE-LCHlch(22.83, 66.17, 313.30°)
OKLaboklab(35.56% 0.0871 -0.1375)
OKLCHoklch(35.56% 0.163 302.4)
XYZxyz(7.3241, 3.7520, 20.7562)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1680 #488016
analogous
#191680 #4E1680 #80167D
triadic
#4E1680 #804E16 #16804E
tetradic
#4E1680 #801916 #488016 #167D80
square
#4E1680 #801916 #488016 #167D80
split-complementary
#4E1680 #7D8016 #168019
monochromatic
#10041A #2E0D4C #4E1680 #6E1FB4 #8D34DC

Accessibility & contrast

On white

12.00
#4E1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1680
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1680#FFFFFF#000000##FFFFFF
##4E16801.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#43334C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e1680;
/* rgb */ color: rgb(78, 22, 128);
/* oklch */ color: oklch(35.6% 0.163 302.4);
Tailwind
colors: {
  custom: {
    50: '#855ba6',
    500: '#4e1680',
    950: '#000000',
  },
}
SCSS
$custom: #4e1680;
$custom-light: #855ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1680",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 271.698,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35555,
    "c": 0.16278,
    "h": 302.4
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#4E1680
secondary
#76B53D
accent
#ED3A8F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4E1680

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

Preview Lab → · Contrast checker → · Palette generator →

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