#4D0E46#4D0E46

#4D0E46 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.1% C 0.115 H 333.1°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#4D0E46
RGBrgb(77, 14, 70)
HSLhsl(307, 69%, 18%)
HSVhsv(307, 82%, 30%)
CMYKcmyk(0%, 81.8%, 9.1%, 69.8%)
CIE-LABlab(17.15, 35.58, -19.02)
CIE-LCHlch(17.15, 40.34, 331.88°)
OKLaboklab(30.1% 0.1027 -0.0522)
OKLCHoklch(30.1% 0.115 333.1)
XYZxyz(4.3231, 2.3344, 6.0161)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E46 #0E4D15
analogous
#340E4D #4D0E46 #4D0E26
triadic
#4D0E46 #464D0E #0E464D
tetradic
#4D0E46 #4D340E #0E4D15 #0E264D
square
#4D0E46 #4D340E #0E4D15 #0E264D
split-complementary
#4D0E46 #264D0E #0E4D34
monochromatic
#1A0518 #1A0518 #4D0E46 #811775 #B521A4

Accessibility & contrast

On white

14.32
#4D0E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4D0E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0E46
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E46#FFFFFF#000000##FFFFFF
##4D0E461.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2448
Deuteranopia (green-blind)
#232D44
Tritanopia (blue-blind)
#511529
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0e46;
/* rgb */ color: rgb(77, 14, 70);
/* oklch */ color: oklch(30.1% 0.115 333.1);
Tailwind
colors: {
  custom: {
    50: '#815479',
    500: '#4d0e46',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e46;
$custom-light: #815479;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e46",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 70
  },
  "hsl": {
    "h": 306.667,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30105,
    "c": 0.11521,
    "h": 333.1
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#4D0E46
secondary
#2F8839
accent
#EC4F3C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0E46

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

Preview Lab → · Contrast checker → · Palette generator →

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