#4D416F#4D416F

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

Color values

HEX#4D416F
RGBrgb(77, 65, 111)
HSLhsl(256, 26%, 35%)
HSVhsv(256, 41%, 44%)
CMYKcmyk(30.6%, 41.4%, 0%, 56.5%)
CIE-LABlab(30.65, 16.36, -24.84)
CIE-LCHlch(30.65, 29.74, 303.38°)
OKLaboklab(40.87% 0.032 -0.0694)
OKLCHoklch(40.87% 0.076 294.8)
XYZxyz(7.8194, 6.5060, 15.8797)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D416F #636F41
analogous
#414C6F #4D416F #64416F
triadic
#4D416F #6F4D41 #416F4D
tetradic
#4D416F #6F414C #636F41 #416F64
square
#4D416F #6F414C #636F41 #416F64
split-complementary
#4D416F #6F6441 #4C6F41
monochromatic
#171422 #322A48 #4D416F #685896 #887AB1

Accessibility & contrast

On white

9.13
#4D416F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4D416F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D416F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D416F#FFFFFF#000000##FFFFFF
##4D416F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#36476E
Tritanopia (blue-blind)
#464952
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d416f;
/* rgb */ color: rgb(77, 65, 111);
/* oklch */ color: oklch(40.9% 0.076 294.8);
Tailwind
colors: {
  custom: {
    50: '#807598',
    500: '#4d416f',
    950: '#000000',
  },
}
SCSS
$custom: #4d416f;
$custom-light: #807598;
$custom-dark: #000000;
JSON
{
  "hex": "#4d416f",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 111
  },
  "hsl": {
    "h": 255.652,
    "s": 26.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.07642,
    "h": 294.8
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#4D416F
secondary
#909C70
accent
#C365AA
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4D416F

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

Preview Lab → · Contrast checker → · Palette generator →

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