#4D1673#4D1673

#4D1673 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.149 H 306.8°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#4D1673
RGBrgb(77, 22, 115)
HSLhsl(275, 68%, 27%)
HSVhsv(275, 81%, 45%)
CMYKcmyk(33%, 80.9%, 0%, 54.9%)
CIE-LABlab(21.54, 42.04, -41.97)
CIE-LCHlch(21.54, 59.40, 315.05°)
OKLaboklab(34.27% 0.0893 -0.1194)
OKLCHoklch(34.27% 0.149 306.8)
XYZxyz(6.4413, 3.3895, 16.5312)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1673 #3C7316
analogous
#1F1673 #4D1673 #73166B
triadic
#4D1673 #734D16 #16734D
tetradic
#4D1673 #731F16 #3C7316 #166B73
square
#4D1673 #731F16 #3C7316 #166B73
split-complementary
#4D1673 #6B7316 #16731F
monochromatic
#11051A #2B0C40 #4D1673 #6F20A6 #912DD7

Accessibility & contrast

On white

12.52
#4D1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4D1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1673
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1673#FFFFFF#000000##FFFFFF
##4D16731.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#462E44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4d1673;
/* rgb */ color: rgb(77, 22, 115);
/* oklch */ color: oklch(34.3% 0.149 306.8);
Tailwind
colors: {
  custom: {
    50: '#835a9c',
    500: '#4d1673',
    950: '#000000',
  },
}
SCSS
$custom: #4d1673;
$custom-light: #835a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1673",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 275.484,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34265,
    "c": 0.14907,
    "h": 306.8
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#4D1673
secondary
#68A93C
accent
#EB3D84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1673

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

Preview Lab → · Contrast checker → · Palette generator →

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