#4D2090#4D2090

#4D2090 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.170 H 295.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#4D2090
RGBrgb(77, 32, 144)
HSLhsl(264, 64%, 35%)
HSVhsv(264, 78%, 56%)
CMYKcmyk(46.5%, 77.8%, 0%, 43.5%)
CIE-LABlab(25.64, 45.09, -53.58)
CIE-LCHlch(25.64, 70.03, 310.08°)
OKLaboklab(37.93% 0.0725 -0.1536)
OKLCHoklch(37.93% 0.17 295.3)
XYZxyz(8.6098, 4.6242, 26.8191)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2090 #639020
analogous
#202B90 #4D2090 #852090
triadic
#4D2090 #904D20 #20904D
tetradic
#4D2090 #90202B #639020 #209085
square
#4D2090 #90202B #639020 #209085
split-complementary
#4D2090 #908520 #2B9020
monochromatic
#170A2C #32155E #4D2090 #682BC2 #8852D9

Accessibility & contrast

On white

10.91
#4D2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2090
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2090#FFFFFF#000000##FFFFFF
##4D20901.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#3A3E57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d2090;
/* rgb */ color: rgb(77, 32, 144);
/* oklch */ color: oklch(37.9% 0.170 295.3);
Tailwind
colors: {
  custom: {
    50: '#8661b1',
    500: '#4d2090',
    950: '#000000',
  },
}
SCSS
$custom: #4d2090;
$custom-light: #8661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2090",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 264.107,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.1698,
    "h": 295.3
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#4D2090
secondary
#90BC50
accent
#E741A4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D2090

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

Preview Lab → · Contrast checker → · Palette generator →

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