#4D2290#4D2290

#4D2290 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.168 H 294.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#4D2290
RGBrgb(77, 34, 144)
HSLhsl(263, 62%, 35%)
HSVhsv(263, 76%, 56%)
CMYKcmyk(46.5%, 76.4%, 0%, 43.5%)
CIE-LABlab(25.97, 44.15, -53.04)
CIE-LCHlch(25.97, 69.01, 309.77°)
OKLaboklab(38.16% 0.0707 -0.152)
OKLCHoklch(38.16% 0.168 294.9)
XYZxyz(8.6653, 4.7352, 26.8376)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2290 #659022
analogous
#222E90 #4D2290 #842290
triadic
#4D2290 #904D22 #22904D
tetradic
#4D2290 #90222E #659022 #229084
square
#4D2290 #90222E #659022 #229084
split-complementary
#4D2290 #908422 #2E9022
monochromatic
#180B2D #33165E #4D2290 #672EC2 #8855D7

Accessibility & contrast

On white

10.79
#4D2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4D2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2290
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2290#FFFFFF#000000##FFFFFF
##4D22901.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2290;
/* rgb */ color: rgb(77, 34, 144);
/* oklch */ color: oklch(38.2% 0.168 294.9);
Tailwind
colors: {
  custom: {
    50: '#8662b1',
    500: '#4d2290',
    950: '#000000',
  },
}
SCSS
$custom: #4d2290;
$custom-light: #8662b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2290",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 263.455,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.16763,
    "h": 294.9
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#4D2290
secondary
#92BB53
accent
#E543A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2290

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

Preview Lab → · Contrast checker → · Palette generator →

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