#4D2195#4D2195

#4D2195 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.174 H 293.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#4D2195
RGBrgb(77, 33, 149)
HSLhsl(263, 64%, 36%)
HSVhsv(263, 78%, 58%)
CMYKcmyk(48.3%, 77.9%, 0%, 41.6%)
CIE-LABlab(26.26, 45.98, -55.65)
CIE-LCHlch(26.26, 72.18, 309.56°)
OKLaboklab(38.51% 0.0702 -0.1596)
OKLCHoklch(38.51% 0.174 293.7)
XYZxyz(9.0277, 4.8351, 28.8856)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2195 #699521
analogous
#212F95 #4D2195 #872195
triadic
#4D2195 #954D21 #21954D
tetradic
#4D2195 #95212F #699521 #219587
square
#4D2195 #95212F #699521 #219587
split-complementary
#4D2195 #958721 #2F9521
monochromatic
#190B31 #331663 #4D2195 #672CC7 #8857DA

Accessibility & contrast

On white

10.68
#4D2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2195
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2195#FFFFFF#000000##FFFFFF
##4D21951.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#37415A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2195;
/* rgb */ color: rgb(77, 33, 149);
/* oklch */ color: oklch(38.5% 0.174 293.7);
Tailwind
colors: {
  custom: {
    50: '#8662b5',
    500: '#4d2195',
    950: '#000000',
  },
}
SCSS
$custom: #4d2195;
$custom-light: #8662b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2195",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 262.759,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3851,
    "c": 0.17438,
    "h": 293.7
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#4D2195
secondary
#96BE54
accent
#E741A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2195

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

Preview Lab → · Contrast checker → · Palette generator →

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