#4D2490#4D2490

#4D2490 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.165 H 294.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#4D2490
RGBrgb(77, 36, 144)
HSLhsl(263, 60%, 35%)
HSVhsv(263, 75%, 56%)
CMYKcmyk(46.5%, 75%, 0%, 43.5%)
CIE-LABlab(26.31, 43.17, -52.48)
CIE-LCHlch(26.31, 67.95, 309.44°)
OKLaboklab(38.41% 0.0689 -0.1504)
OKLCHoklch(38.41% 0.165 294.6)
XYZxyz(8.7241, 4.8529, 26.8572)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2490 #679024
analogous
#243190 #4D2490 #832490
triadic
#4D2490 #904D24 #24904D
tetradic
#4D2490 #902431 #679024 #249083
square
#4D2490 #902431 #679024 #249083
split-complementary
#4D2490 #908324 #319024
monochromatic
#190C2E #33185F #4D2490 #6730C1 #8859D5

Accessibility & contrast

On white

10.66
#4D2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4D2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2490
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2490#FFFFFF#000000##FFFFFF
##4D24901.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#3A4058
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2490;
/* rgb */ color: rgb(77, 36, 144);
/* oklch */ color: oklch(38.4% 0.165 294.6);
Tailwind
colors: {
  custom: {
    50: '#8663b1',
    500: '#4d2490',
    950: '#000000',
  },
}
SCSS
$custom: #4d2490;
$custom-light: #8663b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2490",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 262.778,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38406,
    "c": 0.16538,
    "h": 294.6
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#4D2490
secondary
#94BA56
accent
#E345A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2490

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

Preview Lab → · Contrast checker → · Palette generator →

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