#474154#474154

#474154 is a dark, muted violet. Relative luminance 0.058; OKLCH L 38.9% C 0.033 H 299.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#474154
RGBrgb(71, 65, 84)
HSLhsl(259, 13%, 29%)
HSVhsv(259, 23%, 33%)
CMYKcmyk(15.5%, 22.6%, 0%, 67.1%)
CIE-LABlab(28.80, 6.96, -10.45)
CIE-LCHlch(28.80, 12.55, 303.67°)
OKLaboklab(38.89% 0.016 -0.0284)
OKLCHoklch(38.89% 0.033 299.3)
XYZxyz(6.0887, 5.7603, 9.1769)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474154 #4E5441
analogous
#414554 #474154 #514154
triadic
#474154 #544741 #415447
tetradic
#474154 #544145 #4E5441 #415451
square
#474154 #544145 #4E5441 #415451
split-complementary
#474154 #545141 #455441
monochromatic
#0F0D11 #2A2631 #474154 #645C77 #827897

Accessibility & contrast

On white

9.76
#474154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#474154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474154
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474154#FFFFFF#000000##FFFFFF
##4741541.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #474154;
/* rgb */ color: rgb(71, 65, 84);
/* oklch */ color: oklch(38.9% 0.033 299.3);
Tailwind
colors: {
  custom: {
    50: '#7a7584',
    500: '#474154',
    950: '#000000',
  },
}
SCSS
$custom: #474154;
$custom-light: #7a7584;
$custom-dark: #000000;
JSON
{
  "hex": "#474154",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 84
  },
  "hsl": {
    "h": 258.947,
    "s": 12.752,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.03262,
    "h": 299.3
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#474154
secondary
#7C836E
accent
#B672A0
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#09080A
muted
#7B7B7C

Preview Lab

Preview with #474154

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

Preview Lab → · Contrast checker → · Palette generator →

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