#4D1474#4D1474

#4D1474 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.152 H 306.6°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#4D1474
RGBrgb(77, 20, 116)
HSLhsl(276, 71%, 27%)
HSVhsv(276, 83%, 45%)
CMYKcmyk(33.6%, 82.8%, 0%, 54.5%)
CIE-LABlab(21.35, 43.07, -42.92)
CIE-LCHlch(21.35, 60.80, 315.10°)
OKLaboklab(34.16% 0.0908 -0.1221)
OKLCHoklch(34.16% 0.152 306.6)
XYZxyz(6.4624, 3.3391, 16.8237)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1474 #3B7414
analogous
#1D1474 #4D1474 #74146B
triadic
#4D1474 #744D14 #14744D
tetradic
#4D1474 #741D14 #3B7414 #146B74
square
#4D1474 #741D14 #3B7414 #146B74
split-complementary
#4D1474 #6B7414 #14741D
monochromatic
#11051A #2A0B40 #4D1474 #701DA8 #9228DA

Accessibility & contrast

On white

12.59
#4D1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4D1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1474
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1474#FFFFFF#000000##FFFFFF
##4D14741.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#462D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d1474;
/* rgb */ color: rgb(77, 20, 116);
/* oklch */ color: oklch(34.2% 0.152 306.6);
Tailwind
colors: {
  custom: {
    50: '#83599d',
    500: '#4d1474',
    950: '#000000',
  },
}
SCSS
$custom: #4d1474;
$custom-light: #83599d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1474",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 275.625,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34161,
    "c": 0.15219,
    "h": 306.6
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#4D1474
secondary
#67AA3A
accent
#ED3A83
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1474

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

Preview Lab → · Contrast checker → · Palette generator →

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