#4E2685#4E2685

#4E2685 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.150 H 298.1°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#4E2685
RGBrgb(78, 38, 133)
HSLhsl(265, 56%, 34%)
HSVhsv(265, 71%, 52%)
CMYKcmyk(41.4%, 71.4%, 0%, 47.8%)
CIE-LABlab(25.86, 39.31, -46.36)
CIE-LCHlch(25.86, 60.78, 310.29°)
OKLaboklab(37.82% 0.0707 -0.1324)
OKLCHoklch(37.82% 0.15 298.1)
XYZxyz(8.0676, 4.6993, 22.6678)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2685 #5D8526
analogous
#262D85 #4E2685 #7D2685
triadic
#4E2685 #854E26 #26854E
tetradic
#4E2685 #85262D #5D8526 #26857D
square
#4E2685 #85262D #5D8526 #26857D
split-complementary
#4E2685 #857D26 #2D8526
monochromatic
#160B26 #321855 #4E2685 #6A34B5 #8957CF

Accessibility & contrast

On white

10.83
#4E2685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E2685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2685
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2685#FFFFFF#000000##FFFFFF
##4E26851.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#413D52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2685;
/* rgb */ color: rgb(78, 38, 133);
/* oklch */ color: oklch(37.8% 0.150 298.1);
Tailwind
colors: {
  custom: {
    50: '#8564a9',
    500: '#4e2685',
    950: '#000000',
  },
}
SCSS
$custom: #4e2685;
$custom-light: #8564a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2685",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 265.263,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37821,
    "c": 0.15005,
    "h": 298.1
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#4E2685
secondary
#8BB353
accent
#DF49A0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4E2685

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

Preview Lab → · Contrast checker → · Palette generator →

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