#4E2483#4E2483

#4E2483 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.150 H 299.2°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#4E2483
RGBrgb(78, 36, 131)
HSLhsl(267, 57%, 33%)
HSVhsv(267, 73%, 51%)
CMYKcmyk(40.5%, 72.5%, 0%, 48.6%)
CIE-LABlab(25.32, 39.81, -45.98)
CIE-LCHlch(25.32, 60.82, 310.88°)
OKLaboklab(37.39% 0.0732 -0.1312)
OKLCHoklch(37.39% 0.15 299.2)
XYZxyz(7.8685, 4.5201, 21.9262)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2483 #598324
analogous
#242A83 #4E2483 #7D2483
triadic
#4E2483 #834E24 #24834E
tetradic
#4E2483 #83242A #598324 #24837D
square
#4E2483 #83242A #598324 #24837D
split-complementary
#4E2483 #837D24 #2A8324
monochromatic
#150A23 #311753 #4E2483 #6B31B3 #8952CF

Accessibility & contrast

On white

11.03
#4E2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2483
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2483#FFFFFF#000000##FFFFFF
##4E24831.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#423B51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2483;
/* rgb */ color: rgb(78, 36, 131);
/* oklch */ color: oklch(37.4% 0.150 299.2);
Tailwind
colors: {
  custom: {
    50: '#8562a8',
    500: '#4e2483',
    950: '#000000',
  },
}
SCSS
$custom: #4e2483;
$custom-light: #8562a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2483",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 266.526,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.15027,
    "h": 299.2
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#4E2483
secondary
#87B34F
accent
#E0489D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4E2483

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

Preview Lab → · Contrast checker → · Palette generator →

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