#4D427D#4D427D

#4D427D is a dark, moderate violet. Relative luminance 0.070; OKLCH L 41.9% C 0.096 H 290.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4D427D
RGBrgb(77, 66, 125)
HSLhsl(251, 31%, 37%)
HSVhsv(251, 47%, 49%)
CMYKcmyk(38.4%, 47.2%, 0%, 51%)
CIE-LABlab(31.70, 19.80, -31.97)
CIE-LCHlch(31.70, 37.61, 301.77°)
OKLaboklab(41.92% 0.0332 -0.0902)
OKLCHoklch(41.92% 0.096 290.2)
XYZxyz(8.7095, 6.9546, 20.2816)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D427D #727D42
analogous
#42557D #4D427D #6A427D
triadic
#4D427D #7D4D42 #427D4D
tetradic
#4D427D #7D4255 #727D42 #427D6A
square
#4D427D #7D4255 #727D42 #427D6A
split-complementary
#4D427D #7D6A42 #557D42
monochromatic
#1C182D #342D55 #4D427D #6657A5 #8A7EBB

Accessibility & contrast

On white

8.78
#4D427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4D427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D427D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D427D#FFFFFF#000000##FFFFFF
##4D427D1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#414D59
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d427d;
/* rgb */ color: rgb(77, 66, 125);
/* oklch */ color: oklch(41.9% 0.096 290.2);
Tailwind
colors: {
  custom: {
    50: '#8176a3',
    500: '#4d427d',
    950: '#000000',
  },
}
SCSS
$custom: #4d427d;
$custom-light: #8176a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d427d",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 251.186,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41915,
    "c": 0.09606,
    "h": 290.2
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#4D427D
secondary
#9DA675
accent
#C761B4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #4D427D

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

Preview Lab → · Contrast checker → · Palette generator →

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