#4D0F62#4D0F62

#4D0F62 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.139 H 315.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#4D0F62
RGBrgb(77, 15, 98)
HSLhsl(285, 73%, 22%)
HSVhsv(285, 85%, 38%)
CMYKcmyk(21.4%, 84.7%, 0%, 61.6%)
CIE-LABlab(19.23, 40.78, -34.63)
CIE-LCHlch(19.23, 53.50, 319.66°)
OKLaboklab(32.21% 0.0995 -0.0978)
OKLCHoklch(32.21% 0.139 315.5)
XYZxyz(5.4356, 2.8015, 11.8073)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F62 #24620F
analogous
#230F62 #4D0F62 #620F4E
triadic
#4D0F62 #624D0F #0F624D
tetradic
#4D0F62 #62230F #24620F #0F4E62
square
#4D0F62 #62230F #24620F #0F4E62
split-complementary
#4D0F62 #4E620F #0F6223
monochromatic
#15041B #23072D #4D0F62 #771797 #A01FCC

Accessibility & contrast

On white

13.46
#4D0F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4D0F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F62
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F62#FFFFFF#000000##FFFFFF
##4D0F621.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#0C3060
Tritanopia (blue-blind)
#4B2339
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d0f62;
/* rgb */ color: rgb(77, 15, 98);
/* oklch */ color: oklch(32.2% 0.139 315.5);
Tailwind
colors: {
  custom: {
    50: '#82568f',
    500: '#4d0f62',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f62;
$custom-light: #82568f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f62",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 284.819,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32205,
    "c": 0.13949,
    "h": 315.5
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#4D0F62
secondary
#4C9B32
accent
#F03866
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D0F62

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

Preview Lab → · Contrast checker → · Palette generator →

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