#474155#474155

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

Color values

HEX#474155
RGBrgb(71, 65, 85)
HSLhsl(258, 13%, 29%)
HSVhsv(258, 24%, 33%)
CMYKcmyk(16.5%, 23.5%, 0%, 66.7%)
CIE-LABlab(28.84, 7.22, -11.03)
CIE-LCHlch(28.84, 13.19, 303.19°)
OKLaboklab(38.93% 0.0164 -0.0301)
OKLCHoklch(38.93% 0.034 298.5)
XYZxyz(6.1282, 5.7760, 9.3846)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474155 #4F5541
analogous
#414555 #474155 #514155
triadic
#474155 #554741 #415547
tetradic
#474155 #554145 #4F5541 #415551
square
#474155 #554145 #4F5541 #415551
split-complementary
#474155 #555141 #455541
monochromatic
#0E0D11 #2A2632 #474155 #645C78 #827898

Accessibility & contrast

On white

9.74
#474155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#474155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474155
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474155#FFFFFF#000000##FFFFFF
##4741551.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4456
Deuteranopia (green-blind)
#3E4454
Tritanopia (blue-blind)
#454448
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #474155;
/* rgb */ color: rgb(71, 65, 85);
/* oklch */ color: oklch(38.9% 0.034 298.5);
Tailwind
colors: {
  custom: {
    50: '#7a7585',
    500: '#474155',
    950: '#000000',
  },
}
SCSS
$custom: #474155;
$custom-light: #7a7585;
$custom-dark: #000000;
JSON
{
  "hex": "#474155",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 85
  },
  "hsl": {
    "h": 258,
    "s": 13.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3893,
    "c": 0.03424,
    "h": 298.5
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#474155
secondary
#7D846E
accent
#B672A2
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#09080B
muted
#7B7B7C

Preview Lab

Preview with #474155

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

Preview Lab → · Contrast checker → · Palette generator →

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