#4D0F72#4D0F72

#4D0F72 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.155 H 308.0°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#4D0F72
RGBrgb(77, 15, 114)
HSLhsl(278, 77%, 25%)
HSVhsv(278, 87%, 45%)
CMYKcmyk(32.5%, 86.8%, 0%, 55.3%)
CIE-LABlab(20.57, 44.36, -42.90)
CIE-LCHlch(20.57, 61.71, 315.96°)
OKLaboklab(33.56% 0.0953 -0.1221)
OKLCHoklch(33.56% 0.155 308)
XYZxyz(6.2680, 3.1344, 16.1911)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F72 #34720F
analogous
#1C0F72 #4D0F72 #720F65
triadic
#4D0F72 #724D0F #0F724D
tetradic
#4D0F72 #721C0F #34720F #0F6572
square
#4D0F72 #721C0F #34720F #0F6572
split-complementary
#4D0F72 #65720F #0F721C
monochromatic
#12041B #28083C #4D0F72 #7216A8 #961DDE

Accessibility & contrast

On white

12.91
#4D0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4D0F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F72
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F72#FFFFFF#000000##FFFFFF
##4D0F721.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#472A42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d0f72;
/* rgb */ color: rgb(77, 15, 114);
/* oklch */ color: oklch(33.6% 0.155 308.0);
Tailwind
colors: {
  custom: {
    50: '#83579b',
    500: '#4d0f72',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f72;
$custom-light: #83579b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f72",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 277.576,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33564,
    "c": 0.15488,
    "h": 308
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#4D0F72
secondary
#5FAA33
accent
#F3357C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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