#4D0F66#4D0F66

#4D0F66 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.143 H 313.5°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#4D0F66
RGBrgb(77, 15, 102)
HSLhsl(283, 74%, 23%)
HSVhsv(283, 85%, 40%)
CMYKcmyk(24.5%, 85.3%, 0%, 60%)
CIE-LABlab(19.55, 41.66, -36.75)
CIE-LCHlch(19.55, 55.55, 318.58°)
OKLaboklab(32.53% 0.0986 -0.104)
OKLCHoklch(32.53% 0.143 313.5)
XYZxyz(5.6292, 2.8789, 12.8270)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F66 #28660F
analogous
#220F66 #4D0F66 #660F53
triadic
#4D0F66 #664D0F #0F664D
tetradic
#4D0F66 #66220F #28660F #0F5366
square
#4D0F66 #66220F #28660F #0F5366
split-complementary
#4D0F66 #53660F #0F6622
monochromatic
#14041B #250731 #4D0F66 #75179B #9E1FD1

Accessibility & contrast

On white

13.33
#4D0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4D0F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F66
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F66#FFFFFF#000000##FFFFFF
##4D0F661.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#043164
Tritanopia (blue-blind)
#4A253B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d0f66;
/* rgb */ color: rgb(77, 15, 102);
/* oklch */ color: oklch(32.5% 0.143 313.5);
Tailwind
colors: {
  custom: {
    50: '#835792',
    500: '#4d0f66',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f66;
$custom-light: #835792;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f66",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 282.759,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32532,
    "c": 0.1433,
    "h": 313.5
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#4D0F66
secondary
#519F32
accent
#F1376C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4D0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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