#4D2589#4D2589

#4D2589 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.156 H 296.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#4D2589
RGBrgb(77, 37, 137)
HSLhsl(264, 57%, 34%)
HSVhsv(264, 73%, 54%)
CMYKcmyk(43.8%, 73%, 0%, 46.3%)
CIE-LABlab(25.88, 40.73, -48.83)
CIE-LCHlch(25.88, 63.59, 309.83°)
OKLaboklab(37.91% 0.0695 -0.1396)
OKLCHoklch(37.91% 0.156 296.5)
XYZxyz(8.2363, 4.7069, 24.1366)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2589 #618925
analogous
#252F89 #4D2589 #7F2589
triadic
#4D2589 #894D25 #25894D
tetradic
#4D2589 #89252F #618925 #25897F
square
#4D2589 #89252F #618925 #25897F
split-complementary
#4D2589 #897F25 #2F8925
monochromatic
#170B29 #321859 #4D2589 #6832B9 #8857D2

Accessibility & contrast

On white

10.82
#4D2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2589
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2589#FFFFFF#000000##FFFFFF
##4D25891.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#3D3E54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d2589;
/* rgb */ color: rgb(77, 37, 137);
/* oklch */ color: oklch(37.9% 0.156 296.5);
Tailwind
colors: {
  custom: {
    50: '#8563ac',
    500: '#4d2589',
    950: '#000000',
  },
}
SCSS
$custom: #4d2589;
$custom-light: #8563ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2589",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 264,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37914,
    "c": 0.15597,
    "h": 296.5
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#4D2589
secondary
#8FB654
accent
#E147A3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4D2589

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

Preview Lab → · Contrast checker → · Palette generator →

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