#4D0E45#4D0E45

#4D0E45 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.114 H 333.8°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#4D0E45
RGBrgb(77, 14, 69)
HSLhsl(308, 69%, 18%)
HSVhsv(308, 82%, 30%)
CMYKcmyk(0%, 81.8%, 10.4%, 69.8%)
CIE-LABlab(17.09, 35.40, -18.42)
CIE-LCHlch(17.09, 39.91, 332.52°)
OKLaboklab(30.04% 0.1027 -0.0505)
OKLCHoklch(30.04% 0.114 333.8)
XYZxyz(4.2918, 2.3219, 5.8512)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E45 #0E4D16
analogous
#350E4D #4D0E45 #4D0E25
triadic
#4D0E45 #454D0E #0E454D
tetradic
#4D0E45 #4D350E #0E4D16 #0E254D
square
#4D0E45 #4D350E #0E4D16 #0E254D
split-complementary
#4D0E45 #254D0E #0E4D35
monochromatic
#1A0517 #1A0517 #4D0E45 #811773 #B521A2

Accessibility & contrast

On white

14.34
#4D0E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D0E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0E45
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E45#FFFFFF#000000##FFFFFF
##4D0E451.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2446
Deuteranopia (green-blind)
#242D44
Tritanopia (blue-blind)
#511428
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0e45;
/* rgb */ color: rgb(77, 14, 69);
/* oklch */ color: oklch(30.0% 0.114 333.8);
Tailwind
colors: {
  custom: {
    50: '#815479',
    500: '#4d0e45',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e45;
$custom-light: #815479;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e45",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 307.619,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30043,
    "c": 0.11439,
    "h": 333.8
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#4D0E45
secondary
#2F883A
accent
#EC523C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0E45

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

Preview Lab → · Contrast checker → · Palette generator →

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