#4F415C#4F415C

#4F415C is a dark, muted violet. Relative luminance 0.062; OKLCH L 40.1% C 0.048 H 307.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4F415C
RGBrgb(79, 65, 92)
HSLhsl(271, 17%, 31%)
HSVhsv(271, 29%, 36%)
CMYKcmyk(14.1%, 29.3%, 0%, 63.9%)
CIE-LABlab(29.95, 11.98, -13.79)
CIE-LCHlch(29.95, 18.27, 310.99°)
OKLaboklab(40.08% 0.0294 -0.0377)
OKLCHoklch(40.08% 0.048 307.9)
XYZxyz(7.0462, 6.2156, 10.9517)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F415C #4E5C41
analogous
#41415C #4F415C #5C415B
triadic
#4F415C #5C4F41 #415C4F
tetradic
#4F415C #5C4141 #4E5C41 #415B5C
square
#4F415C #5C4141 #4E5C41 #415B5C
split-complementary
#4F415C #5B5C41 #415C41
monochromatic
#110E14 #302838 #4F415C #6E5A80 #8C78A0

Accessibility & contrast

On white

9.36
#4F415C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4F415C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F415C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F415C#FFFFFF#000000##FFFFFF
##4F415C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#3F475B
Tritanopia (blue-blind)
#4D454B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f415c;
/* rgb */ color: rgb(79, 65, 92);
/* oklch */ color: oklch(40.1% 0.048 307.9);
Tailwind
colors: {
  custom: {
    50: '#80758a',
    500: '#4f415c',
    950: '#000000',
  },
}
SCSS
$custom: #4f415c;
$custom-light: #80758a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f415c",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 92
  },
  "hsl": {
    "h": 271.111,
    "s": 17.197,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40079,
    "c": 0.04779,
    "h": 307.9
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#4F415C
secondary
#7C8B6D
accent
#BA6E92
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4F415C

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

Preview Lab → · Contrast checker → · Palette generator →

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