#474251#474251

#474251 is a dark, muted violet. Relative luminance 0.058; OKLCH L 39.0% C 0.026 H 300.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#474251
RGBrgb(71, 66, 81)
HSLhsl(260, 10%, 29%)
HSVhsv(260, 19%, 32%)
CMYKcmyk(12.3%, 18.5%, 0%, 68.2%)
CIE-LABlab(28.98, 5.56, -8.23)
CIE-LCHlch(28.98, 9.93, 304.04°)
OKLaboklab(38.99% 0.0131 -0.0223)
OKLCHoklch(38.99% 0.026 300.4)
XYZxyz(6.0317, 5.8301, 8.5905)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474251 #4C5142
analogous
#424551 #474251 #4F4251
triadic
#474251 #514742 #425147
tetradic
#474251 #514245 #4C5142 #42514F
square
#474251 #514245 #4C5142 #42514F
split-complementary
#474251 #514F42 #455142
monochromatic
#0F0E11 #29272F #474251 #655D73 #837A93

Accessibility & contrast

On white

9.70
#474251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#474251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474251
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474251#FFFFFF#000000##FFFFFF
##4742511.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4452
Deuteranopia (green-blind)
#404451
Tritanopia (blue-blind)
#454447
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #474251;
/* rgb */ color: rgb(71, 66, 81);
/* oklch */ color: oklch(39.0% 0.026 300.4);
Tailwind
colors: {
  custom: {
    50: '#7a7681',
    500: '#474251',
    950: '#000000',
  },
}
SCSS
$custom: #474251;
$custom-light: #7a7681;
$custom-dark: #000000;
JSON
{
  "hex": "#474251",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 81
  },
  "hsl": {
    "h": 260,
    "s": 10.204,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38986,
    "c": 0.02583,
    "h": 300.4
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#474251
secondary
#7A806F
accent
#B3759E
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#09080A
muted
#7B7B7C

Preview Lab

Preview with #474251

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

Preview Lab → · Contrast checker → · Palette generator →

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