#4D1470#4D1470

#4D1470 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.148 H 308.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#4D1470
RGBrgb(77, 20, 112)
HSLhsl(277, 70%, 26%)
HSVhsv(277, 82%, 44%)
CMYKcmyk(31.2%, 82.1%, 0%, 56.1%)
CIE-LABlab(21.01, 42.12, -40.90)
CIE-LCHlch(21.01, 58.71, 315.84°)
OKLaboklab(33.82% 0.0918 -0.1162)
OKLCHoklch(33.82% 0.148 308.3)
XYZxyz(6.2347, 3.2480, 15.6246)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1470 #377014
analogous
#1F1470 #4D1470 #701465
triadic
#4D1470 #704D14 #14704D
tetradic
#4D1470 #701F14 #377014 #146570
square
#4D1470 #701F14 #377014 #146570
split-complementary
#4D1470 #657014 #14701F
monochromatic
#12051A #290B3C #4D1470 #711DA4 #9427D8

Accessibility & contrast

On white

12.73
#4D1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4D1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1470
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1470#FFFFFF#000000##FFFFFF
##4D14701.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#472B42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1470;
/* rgb */ color: rgb(77, 20, 112);
/* oklch */ color: oklch(33.8% 0.148 308.3);
Tailwind
colors: {
  custom: {
    50: '#83599a',
    500: '#4d1470',
    950: '#000000',
  },
}
SCSS
$custom: #4d1470;
$custom-light: #83599a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1470",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 277.174,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33815,
    "c": 0.14812,
    "h": 308.3
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#4D1470
secondary
#63A639
accent
#ED3B7F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1470

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

Preview Lab → · Contrast checker → · Palette generator →

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