#4D0F5E#4D0F5E

#4D0F5E is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.9% C 0.136 H 317.6°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#4D0F5E
RGBrgb(77, 15, 94)
HSLhsl(287, 72%, 21%)
HSVhsv(287, 84%, 37%)
CMYKcmyk(18.1%, 84%, 0%, 63.1%)
CIE-LABlab(18.92, 39.92, -32.48)
CIE-LCHlch(18.92, 51.47, 320.87°)
OKLaboklab(31.89% 0.1002 -0.0915)
OKLCHoklch(31.89% 0.136 317.6)
XYZxyz(5.2515, 2.7278, 10.8374)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F5E #205E0F
analogous
#260F5E #4D0F5E #5E0F48
triadic
#4D0F5E #5E4D0F #0F5E4D
tetradic
#4D0F5E #5E260F #205E0F #0F485E
square
#4D0F5E #5E260F #205E0F #0F485E
split-complementary
#4D0F5E #485E0F #0F5E26
monochromatic
#16041A #220729 #4D0F5E #781793 #A320C8

Accessibility & contrast

On white

13.59
#4D0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4D0F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F5E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F5E#FFFFFF#000000##FFFFFF
##4D0F5E1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#12305C
Tritanopia (blue-blind)
#4C2137
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d0f5e;
/* rgb */ color: rgb(77, 15, 94);
/* oklch */ color: oklch(31.9% 0.136 317.6);
Tailwind
colors: {
  custom: {
    50: '#82568c',
    500: '#4d0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f5e;
$custom-light: #82568c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f5e",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 287.089,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31888,
    "c": 0.13569,
    "h": 317.6
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#4D0F5E
secondary
#479731
accent
#EF3960
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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