#4D426B#4D426B

#4D426B is a dark, moderate violet. Relative luminance 0.065; OKLCH L 40.9% C 0.068 H 295.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4D426B
RGBrgb(77, 66, 107)
HSLhsl(256, 24%, 34%)
HSVhsv(256, 38%, 42%)
CMYKcmyk(28%, 38.3%, 0%, 58%)
CIE-LABlab(30.73, 14.59, -22.19)
CIE-LCHlch(30.73, 26.56, 303.32°)
OKLaboklab(40.85% 0.0295 -0.0617)
OKLCHoklch(40.85% 0.068 295.6)
XYZxyz(7.6620, 6.5357, 14.7649)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D426B #606B42
analogous
#424C6B #4D426B #62426B
triadic
#4D426B #6B4D42 #426B4D
tetradic
#4D426B #6B424C #606B42 #426B62
square
#4D426B #6B424C #606B42 #426B62
split-complementary
#4D426B #6B6242 #4C6B42
monochromatic
#17131F #322B45 #4D426B #685991 #887AAD

Accessibility & contrast

On white

9.10
#4D426B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4D426B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D426B
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D426B#FFFFFF#000000##FFFFFF
##4D426B1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496D
Deuteranopia (green-blind)
#39486A
Tritanopia (blue-blind)
#474951
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d426b;
/* rgb */ color: rgb(77, 66, 107);
/* oklch */ color: oklch(40.9% 0.068 295.6);
Tailwind
colors: {
  custom: {
    50: '#807695',
    500: '#4d426b',
    950: '#000000',
  },
}
SCSS
$custom: #4d426b;
$custom-light: #807695;
$custom-dark: #000000;
JSON
{
  "hex": "#4d426b",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 107
  },
  "hsl": {
    "h": 256.098,
    "s": 23.699,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.06842,
    "h": 295.6
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#4D426B
secondary
#8E9970
accent
#C068A8
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4D426B

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

Preview Lab → · Contrast checker → · Palette generator →

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