#4D1073#4D1073

#4D1073 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.155 H 307.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#4D1073
RGBrgb(77, 16, 115)
HSLhsl(277, 76%, 26%)
HSVhsv(277, 86%, 45%)
CMYKcmyk(33%, 86.1%, 0%, 54.9%)
CIE-LABlab(20.78, 44.26, -43.22)
CIE-LCHlch(20.78, 61.86, 315.68°)
OKLaboklab(33.73% 0.0943 -0.123)
OKLCHoklch(33.73% 0.155 307.5)
XYZxyz(6.3397, 3.1863, 16.4974)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1073 #367310
analogous
#1B1073 #4D1073 #731067
triadic
#4D1073 #734D10 #10734D
tetradic
#4D1073 #731B10 #367310 #106773
square
#4D1073 #731B10 #367310 #106773
split-complementary
#4D1073 #677310 #10731B
monochromatic
#12041B #29093D #4D1073 #7117A9 #951FDE

Accessibility & contrast

On white

12.83
#4D1073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4D1073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1073
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1073#FFFFFF#000000##FFFFFF
##4D10731.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#472B43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1073;
/* rgb */ color: rgb(77, 16, 115);
/* oklch */ color: oklch(33.7% 0.155 307.5);
Tailwind
colors: {
  custom: {
    50: '#84589c',
    500: '#4d1073',
    950: '#000000',
  },
}
SCSS
$custom: #4d1073;
$custom-light: #84589c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1073",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 276.97,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33731,
    "c": 0.15498,
    "h": 307.5
  },
  "luminance": 0.03186
}

Semantic roles & 50–950 ramp

primary
#4D1073
secondary
#62AA34
accent
#F2367E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1073

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

Preview Lab → · Contrast checker → · Palette generator →

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