#4D1475#4D1475

#4D1475 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.153 H 306.2°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4D1475
RGBrgb(77, 20, 117)
HSLhsl(275, 71%, 27%)
HSVhsv(275, 83%, 46%)
CMYKcmyk(34.2%, 82.9%, 0%, 54.1%)
CIE-LABlab(21.44, 43.31, -43.42)
CIE-LCHlch(21.44, 61.32, 314.93°)
OKLaboklab(34.25% 0.0905 -0.1236)
OKLCHoklch(34.25% 0.153 306.2)
XYZxyz(6.5209, 3.3625, 17.1317)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1475 #3C7514
analogous
#1D1475 #4D1475 #75146D
triadic
#4D1475 #754D14 #14754D
tetradic
#4D1475 #751D14 #3C7514 #146D75
square
#4D1475 #751D14 #3C7514 #146D75
split-complementary
#4D1475 #6D7514 #14751D
monochromatic
#11041A #2B0B41 #4D1475 #6F1DA9 #9129DA

Accessibility & contrast

On white

12.56
#4D1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1475
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1475#FFFFFF#000000##FFFFFF
##4D14751.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#462E45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d1475;
/* rgb */ color: rgb(77, 20, 117);
/* oklch */ color: oklch(34.2% 0.153 306.2);
Tailwind
colors: {
  custom: {
    50: '#835a9e',
    500: '#4d1475',
    950: '#000000',
  },
}
SCSS
$custom: #4d1475;
$custom-light: #835a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1475",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 275.258,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34249,
    "c": 0.15321,
    "h": 306.2
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#4D1475
secondary
#68AB3A
accent
#EE3A84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1475

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

Preview Lab → · Contrast checker → · Palette generator →

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