#474252#474252

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

Color values

HEX#474252
RGBrgb(71, 66, 82)
HSLhsl(259, 11%, 29%)
HSVhsv(259, 20%, 32%)
CMYKcmyk(13.4%, 19.5%, 0%, 67.8%)
CIE-LABlab(29.02, 5.81, -8.82)
CIE-LCHlch(29.02, 10.56, 303.36°)
OKLaboklab(39.03% 0.0135 -0.0239)
OKLCHoklch(39.03% 0.027 299.4)
XYZxyz(6.0694, 5.8452, 8.7895)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474252 #4D5242
analogous
#424552 #474252 #4F4252
triadic
#474252 #524742 #425247
tetradic
#474252 #524245 #4D5242 #42524F
square
#474252 #524245 #4D5242 #42524F
split-complementary
#474252 #524F42 #455242
monochromatic
#0F0E11 #2A2730 #474252 #645D74 #827A94

Accessibility & contrast

On white

9.68
#474252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474252
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474252#FFFFFF#000000##FFFFFF
##4742521.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #474252;
/* rgb */ color: rgb(71, 66, 82);
/* oklch */ color: oklch(39.0% 0.027 299.4);
Tailwind
colors: {
  custom: {
    50: '#7a7682',
    500: '#474252',
    950: '#000000',
  },
}
SCSS
$custom: #474252;
$custom-light: #7a7682;
$custom-dark: #000000;
JSON
{
  "hex": "#474252",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 258.75,
    "s": 10.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.02745,
    "h": 299.4
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#474252
secondary
#7B816F
accent
#B474A0
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#09080A
muted
#7B7B7C

Preview Lab

Preview with #474252

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

Preview Lab → · Contrast checker → · Palette generator →

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