#4D0F68#4D0F68

#4D0F68 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.7% C 0.145 H 312.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4D0F68
RGBrgb(77, 15, 104)
HSLhsl(282, 75%, 23%)
HSVhsv(282, 86%, 41%)
CMYKcmyk(26%, 85.6%, 0%, 59.2%)
CIE-LABlab(19.72, 42.10, -37.79)
CIE-LCHlch(19.72, 56.57, 318.09°)
OKLaboklab(32.7% 0.0981 -0.107)
OKLCHoklch(32.7% 0.145 312.5)
XYZxyz(5.7296, 2.9191, 13.3556)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F68 #2A680F
analogous
#200F68 #4D0F68 #680F56
triadic
#4D0F68 #684D0F #0F684D
tetradic
#4D0F68 #68200F #2A680F #0F5668
square
#4D0F68 #68200F #2A680F #0F5668
split-complementary
#4D0F68 #56680F #0F6820
monochromatic
#14041B #250733 #4D0F68 #75179D #9C1ED3

Accessibility & contrast

On white

13.26
#4D0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0F68
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F68#FFFFFF#000000##FFFFFF
##4D0F681.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#4A263C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d0f68;
/* rgb */ color: rgb(77, 15, 104);
/* oklch */ color: oklch(32.7% 0.145 312.5);
Tailwind
colors: {
  custom: {
    50: '#835794',
    500: '#4d0f68',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f68;
$custom-light: #835794;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f68",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 281.798,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32699,
    "c": 0.14522,
    "h": 312.5
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#4D0F68
secondary
#54A132
accent
#F1366F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4D0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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