#4D0F46#4D0F46

#4D0F46 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.114 H 333.1°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#4D0F46
RGBrgb(77, 15, 70)
HSLhsl(307, 67%, 18%)
HSVhsv(307, 81%, 30%)
CMYKcmyk(0%, 80.5%, 9.1%, 69.8%)
CIE-LABlab(17.28, 35.21, -18.81)
CIE-LCHlch(17.28, 39.92, 331.89°)
OKLaboklab(30.2% 0.1016 -0.0516)
OKLCHoklch(30.2% 0.114 333.1)
XYZxyz(4.3369, 2.3620, 6.0207)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F46 #0F4D16
analogous
#350F4D #4D0F46 #4D0F27
triadic
#4D0F46 #464D0F #0F464D
tetradic
#4D0F46 #4D350F #0F4D16 #0F274D
square
#4D0F46 #4D350F #0F4D16 #0F274D
split-complementary
#4D0F46 #274D0F #0F4D35
monochromatic
#1A0517 #1A0517 #4D0F46 #801975 #B323A3

Accessibility & contrast

On white

14.26
#4D0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0F46
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F46#FFFFFF#000000##FFFFFF
##4D0F461.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2548
Deuteranopia (green-blind)
#242E45
Tritanopia (blue-blind)
#511529
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0f46;
/* rgb */ color: rgb(77, 15, 70);
/* oklch */ color: oklch(30.2% 0.114 333.1);
Tailwind
colors: {
  custom: {
    50: '#815579',
    500: '#4d0f46',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f46;
$custom-light: #815579;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f46",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 306.774,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30198,
    "c": 0.11399,
    "h": 333.1
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#4D0F46
secondary
#31873A
accent
#EA513E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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