#4E2A83#4E2A83

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

Color values

HEX#4E2A83
RGBrgb(78, 42, 131)
HSLhsl(264, 51%, 34%)
HSVhsv(264, 68%, 51%)
CMYKcmyk(40.5%, 67.9%, 0%, 48.6%)
CIE-LABlab(26.49, 36.58, -44.09)
CIE-LCHlch(26.49, 57.29, 309.68°)
OKLaboklab(38.22% 0.0665 -0.1257)
OKLCHoklch(38.22% 0.142 297.9)
XYZxyz(8.0655, 4.9142, 21.9919)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A83 #5F832A
analogous
#2A3383 #4E2A83 #7B2A83
triadic
#4E2A83 #834E2A #2A834E
tetradic
#4E2A83 #832A33 #5F832A #2A837B
square
#4E2A83 #832A33 #5F832A #2A837B
split-complementary
#4E2A83 #837B2A #33832A
monochromatic
#170C26 #321B55 #4E2A83 #6A39B1 #895DCB

Accessibility & contrast

On white

10.59
#4E2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2A83
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A83#FFFFFF#000000##FFFFFF
##4E2A831.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#413F52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2a83;
/* rgb */ color: rgb(78, 42, 131);
/* oklch */ color: oklch(38.2% 0.142 297.9);
Tailwind
colors: {
  custom: {
    50: '#8466a8',
    500: '#4e2a83',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a83;
$custom-light: #8466a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a83",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 264.27,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38222,
    "c": 0.14219,
    "h": 297.9
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#4E2A83
secondary
#8DB158
accent
#DB4DA1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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