#4D2590#4D2590

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

Color values

HEX#4D2590
RGBrgb(77, 37, 144)
HSLhsl(262, 59%, 35%)
HSVhsv(262, 74%, 56%)
CMYKcmyk(46.5%, 74.3%, 0%, 43.5%)
CIE-LABlab(26.49, 42.66, -52.19)
CIE-LCHlch(26.49, 67.41, 309.27°)
OKLaboklab(38.53% 0.0679 -0.1495)
OKLCHoklch(38.53% 0.164 294.4)
XYZxyz(8.7548, 4.9143, 26.8674)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2590 #689025
analogous
#253290 #4D2590 #822590
triadic
#4D2590 #904D25 #25904D
tetradic
#4D2590 #902532 #689025 #259082
square
#4D2590 #902532 #689025 #259082
split-complementary
#4D2590 #908225 #329025
monochromatic
#190C2F #33185F #4D2590 #6732C1 #885BD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D2590#FFFFFF#000000##FFFFFF
##4D25901.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)
#004093
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#3A4158
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2590;
/* rgb */ color: rgb(77, 37, 144);
/* oklch */ color: oklch(38.5% 0.164 294.4);
Tailwind
colors: {
  custom: {
    50: '#8663b1',
    500: '#4d2590',
    950: '#000000',
  },
}
SCSS
$custom: #4d2590;
$custom-light: #8663b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2590",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 262.43,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38532,
    "c": 0.16421,
    "h": 294.4
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#4D2590
secondary
#95B957
accent
#E245A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2590

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

Preview Lab → · Contrast checker → · Palette generator →

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