#4E2583#4E2583

#4E2583 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.149 H 299.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#4E2583
RGBrgb(78, 37, 131)
HSLhsl(266, 56%, 33%)
HSVhsv(266, 72%, 51%)
CMYKcmyk(40.5%, 71.8%, 0%, 48.6%)
CIE-LABlab(25.51, 39.29, -45.68)
CIE-LCHlch(25.51, 60.25, 310.70°)
OKLaboklab(37.52% 0.0721 -0.1303)
OKLCHoklch(37.52% 0.149 299)
XYZxyz(7.8992, 4.5814, 21.9365)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2583 #5A8325
analogous
#252B83 #4E2583 #7D2583
triadic
#4E2583 #834E25 #25834E
tetradic
#4E2583 #83252B #5A8325 #25837D
square
#4E2583 #83252B #5A8325 #25837D
split-complementary
#4E2583 #837D25 #2B8325
monochromatic
#150A24 #321853 #4E2583 #6A32B3 #8954CF

Accessibility & contrast

On white

10.96
#4E2583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E2583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2583
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2583#FFFFFF#000000##FFFFFF
##4E25831.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#413C51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2583;
/* rgb */ color: rgb(78, 37, 131);
/* oklch */ color: oklch(37.5% 0.149 299.0);
Tailwind
colors: {
  custom: {
    50: '#8563a8',
    500: '#4e2583',
    950: '#000000',
  },
}
SCSS
$custom: #4e2583;
$custom-light: #8563a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2583",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 266.17,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.14897,
    "h": 299
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#4E2583
secondary
#88B351
accent
#DF499E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4E2583

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

Preview Lab → · Contrast checker → · Palette generator →

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