#4E2985#4E2985

#4E2985 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.146 H 297.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4E2985
RGBrgb(78, 41, 133)
HSLhsl(264, 53%, 34%)
HSVhsv(264, 69%, 52%)
CMYKcmyk(41.4%, 69.2%, 0%, 47.8%)
CIE-LABlab(26.44, 37.69, -45.41)
CIE-LCHlch(26.44, 59.01, 309.69°)
OKLaboklab(38.24% 0.0674 -0.1296)
OKLCHoklch(38.24% 0.146 297.5)
XYZxyz(8.1674, 4.8989, 22.7010)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2985 #608529
analogous
#293285 #4E2985 #7C2985
triadic
#4E2985 #854E29 #29854E
tetradic
#4E2985 #852932 #608529 #29857C
square
#4E2985 #852932 #608529 #29857C
split-complementary
#4E2985 #857C29 #328529
monochromatic
#170C27 #331B56 #4E2985 #6937B4 #895CCD

Accessibility & contrast

On white

10.61
#4E2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2985
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2985#FFFFFF#000000##FFFFFF
##4E29851.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#403F53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2985;
/* rgb */ color: rgb(78, 41, 133);
/* oklch */ color: oklch(38.2% 0.146 297.5);
Tailwind
colors: {
  custom: {
    50: '#8465a9',
    500: '#4e2985',
    950: '#000000',
  },
}
SCSS
$custom: #4e2985;
$custom-light: #8465a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2985",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 264.13,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3824,
    "c": 0.14605,
    "h": 297.5
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#4E2985
secondary
#8EB258
accent
#DC4CA2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2985

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

Preview Lab → · Contrast checker → · Palette generator →

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