#474255#474255

#474255 is a dark, muted violet. Relative luminance 0.059; OKLCH L 39.2% C 0.032 H 296.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#474255
RGBrgb(71, 66, 85)
HSLhsl(256, 13%, 30%)
HSVhsv(256, 22%, 33%)
CMYKcmyk(16.5%, 22.4%, 0%, 66.7%)
CIE-LABlab(29.14, 6.56, -10.58)
CIE-LCHlch(29.14, 12.45, 301.81°)
OKLaboklab(39.16% 0.0147 -0.0288)
OKLCHoklch(39.16% 0.032 296.9)
XYZxyz(6.1861, 5.8919, 9.4039)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474255 #505542
analogous
#424755 #474255 #514255
triadic
#474255 #554742 #425547
tetradic
#474255 #554247 #505542 #425551
square
#474255 #554247 #505542 #425551
split-complementary
#474255 #555142 #475542
monochromatic
#0E0D11 #2A2733 #474255 #645D77 #827A98

Accessibility & contrast

On white

9.64
#474255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#474255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474255
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474255#FFFFFF#000000##FFFFFF
##4742551.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4556
Deuteranopia (green-blind)
#3F4454
Tritanopia (blue-blind)
#454548
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #474255;
/* rgb */ color: rgb(71, 66, 85);
/* oklch */ color: oklch(39.2% 0.032 296.9);
Tailwind
colors: {
  custom: {
    50: '#7a7685',
    500: '#474255',
    950: '#000000',
  },
}
SCSS
$custom: #474255;
$custom-light: #7a7685;
$custom-dark: #000000;
JSON
{
  "hex": "#474255",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 85
  },
  "hsl": {
    "h": 255.789,
    "s": 12.583,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39161,
    "c": 0.03233,
    "h": 296.9
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#474255
secondary
#7E846F
accent
#B572A4
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#09080B
muted
#7B7B7C

Preview Lab

Preview with #474255

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

Preview Lab → · Contrast checker → · Palette generator →

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