#4D199D#4D199D

#4D199D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.190 H 292.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#4D199D
RGBrgb(77, 25, 157)
HSLhsl(264, 73%, 36%)
HSVhsv(264, 84%, 62%)
CMYKcmyk(51%, 84.1%, 0%, 38.4%)
CIE-LABlab(25.88, 51.45, -61.17)
CIE-LCHlch(25.88, 79.93, 310.06°)
OKLaboklab(38.48% 0.0734 -0.1757)
OKLCHoklch(38.48% 0.19 292.7)
XYZxyz(9.4923, 4.7070, 32.3001)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D199D #699D19
analogous
#19279D #4D199D #8F199D
triadic
#4D199D #9D4D19 #199D4D
tetradic
#4D199D #9D1927 #699D19 #199D8F
square
#4D199D #9D1927 #699D19 #199D8F
split-complementary
#4D199D #9D8F19 #279D19
monochromatic
#190833 #331168 #4D199D #6721D2 #884EE3

Accessibility & contrast

On white

10.82
#4D199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4D199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D199D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D199D#FFFFFF#000000##FFFFFF
##4D199D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#32415D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d199d;
/* rgb */ color: rgb(77, 25, 157);
/* oklch */ color: oklch(38.5% 0.190 292.7);
Tailwind
colors: {
  custom: {
    50: '#885ebb',
    500: '#4d199d',
    950: '#000000',
  },
}
SCSS
$custom: #4d199d;
$custom-light: #885ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d199d",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 263.636,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38484,
    "c": 0.19042,
    "h": 292.7
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#4D199D
secondary
#96C54D
accent
#EF39A7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4D199D

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

Preview Lab → · Contrast checker → · Palette generator →

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