#474151#474151

#474151 is a dark, muted violet. Relative luminance 0.057; OKLCH L 38.8% C 0.028 H 302.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#474151
RGBrgb(71, 65, 81)
HSLhsl(263, 11%, 29%)
HSVhsv(263, 20%, 32%)
CMYKcmyk(12.3%, 19.8%, 0%, 68.2%)
CIE-LABlab(28.68, 6.21, -8.68)
CIE-LCHlch(28.68, 10.67, 305.57°)
OKLaboklab(38.75% 0.0148 -0.0235)
OKLCHoklch(38.75% 0.028 302.2)
XYZxyz(5.9737, 5.7143, 8.5712)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474151 #4B5141
analogous
#414351 #474151 #4F4151
triadic
#474151 #514741 #415147
tetradic
#474151 #514143 #4B5141 #41514F
square
#474151 #514143 #4B5141 #41514F
split-complementary
#474151 #514F41 #435141
monochromatic
#0F0E11 #29262F #474151 #655C73 #837993

Accessibility & contrast

On white

9.80
#474151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#474151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474151
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474151#FFFFFF#000000##FFFFFF
##4741511.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4352
Deuteranopia (green-blind)
#3F4450
Tritanopia (blue-blind)
#454346
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #474151;
/* rgb */ color: rgb(71, 65, 81);
/* oklch */ color: oklch(38.8% 0.028 302.2);
Tailwind
colors: {
  custom: {
    50: '#7a7581',
    500: '#474151',
    950: '#000000',
  },
}
SCSS
$custom: #474151;
$custom-light: #7a7581;
$custom-dark: #000000;
JSON
{
  "hex": "#474151",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 262.5,
    "s": 10.959,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.02779,
    "h": 302.2
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#474151
secondary
#79806E
accent
#B4749C
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#09080A
muted
#7B7B7C

Preview Lab

Preview with #474151

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

Preview Lab → · Contrast checker → · Palette generator →

#474151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva