#4D2690#4D2690

#4D2690 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.163 H 294.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#4D2690
RGBrgb(77, 38, 144)
HSLhsl(262, 58%, 36%)
HSVhsv(262, 74%, 56%)
CMYKcmyk(46.5%, 73.6%, 0%, 43.5%)
CIE-LABlab(26.67, 42.16, -51.89)
CIE-LCHlch(26.67, 66.86, 309.09°)
OKLaboklab(38.66% 0.067 -0.1486)
OKLCHoklch(38.66% 0.163 294.3)
XYZxyz(8.7864, 4.9774, 26.8779)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2690 #699026
analogous
#263490 #4D2690 #822690
triadic
#4D2690 #904D26 #26904D
tetradic
#4D2690 #902634 #699026 #269082
square
#4D2690 #902634 #699026 #269082
split-complementary
#4D2690 #908226 #349026
monochromatic
#190C2F #331960 #4D2690 #6733C0 #885CD4

Accessibility & contrast

On white

10.52
#4D2690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4D2690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2690
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2690#FFFFFF#000000##FFFFFF
##4D26901.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.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: #4d2690;
/* rgb */ color: rgb(77, 38, 144);
/* oklch */ color: oklch(38.7% 0.163 294.3);
Tailwind
colors: {
  custom: {
    50: '#8564b1',
    500: '#4d2690',
    950: '#000000',
  },
}
SCSS
$custom: #4d2690;
$custom-light: #8564b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2690",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 262.075,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3866,
    "c": 0.16303,
    "h": 294.3
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#4D2690
secondary
#96B959
accent
#E146A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2690

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

Preview Lab → · Contrast checker → · Palette generator →

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