#4E2680#4E2680

#4E2680 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.144 H 299.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4E2680
RGBrgb(78, 38, 128)
HSLhsl(267, 54%, 33%)
HSVhsv(267, 70%, 50%)
CMYKcmyk(39.1%, 70.3%, 0%, 49.8%)
CIE-LABlab(25.46, 37.94, -43.88)
CIE-LCHlch(25.46, 58.01, 310.85°)
OKLaboklab(37.41% 0.0715 -0.1251)
OKLCHoklch(37.41% 0.144 299.8)
XYZxyz(7.7303, 4.5644, 20.8916)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2680 #588026
analogous
#262B80 #4E2680 #7B2680
triadic
#4E2680 #804E26 #26804E
tetradic
#4E2680 #80262B #588026 #26807B
square
#4E2680 #80262B #588026 #26807B
split-complementary
#4E2680 #807B26 #2B8026
monochromatic
#140A22 #311851 #4E2680 #6B34AF #8A54CC

Accessibility & contrast

On white

10.98
#4E2680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E2680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2680
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2680#FFFFFF#000000##FFFFFF
##4E26801.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#433B50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2680;
/* rgb */ color: rgb(78, 38, 128);
/* oklch */ color: oklch(37.4% 0.144 299.8);
Tailwind
colors: {
  custom: {
    50: '#8463a6',
    500: '#4e2680',
    950: '#000000',
  },
}
SCSS
$custom: #4e2680;
$custom-light: #8463a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2680",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 266.667,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37405,
    "c": 0.14406,
    "h": 299.8
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#4E2680
secondary
#86B151
accent
#DE4A9C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E2680

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

Preview Lab → · Contrast checker → · Palette generator →

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