#4D427A#4D427A

#4D427A is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.7% C 0.092 H 290.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4D427A
RGBrgb(77, 66, 122)
HSLhsl(252, 30%, 37%)
HSVhsv(252, 46%, 48%)
CMYKcmyk(36.9%, 45.9%, 0%, 52.2%)
CIE-LABlab(31.53, 18.91, -30.37)
CIE-LCHlch(31.53, 35.78, 301.90°)
OKLaboklab(41.73% 0.0327 -0.0855)
OKLCHoklch(41.73% 0.092 290.9)
XYZxyz(8.5207, 6.8791, 19.2875)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D427A #6F7A42
analogous
#42537A #4D427A #69427A
triadic
#4D427A #7A4D42 #427A4D
tetradic
#4D427A #7A4253 #6F7A42 #427A69
square
#4D427A #7A4253 #6F7A42 #427A69
split-complementary
#4D427A #7A6942 #537A42
monochromatic
#1B172B #342D52 #4D427A #6657A2 #897DB9

Accessibility & contrast

On white

8.84
#4D427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4D427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D427A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D427A#FFFFFF#000000##FFFFFF
##4D427A1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#424D58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d427a;
/* rgb */ color: rgb(77, 66, 122);
/* oklch */ color: oklch(41.7% 0.092 290.9);
Tailwind
colors: {
  custom: {
    50: '#8176a1',
    500: '#4d427a',
    950: '#000000',
  },
}
SCSS
$custom: #4d427a;
$custom-light: #8176a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d427a",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 251.786,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.09152,
    "h": 290.9
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

primary
#4D427A
secondary
#9AA474
accent
#C662B2
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080F
muted
#7C7B7E

Preview Lab

Preview with #4D427A

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

Preview Lab → · Contrast checker → · Palette generator →

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