#474162#474162

#474162 is a dark, muted violet. Relative luminance 0.060; OKLCH L 39.6% C 0.055 H 292.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#474162
RGBrgb(71, 65, 98)
HSLhsl(251, 20%, 32%)
HSVhsv(251, 34%, 38%)
CMYKcmyk(27.6%, 33.7%, 0%, 61.6%)
CIE-LABlab(29.42, 10.71, -18.53)
CIE-LCHlch(29.42, 21.40, 300.02°)
OKLaboklab(39.57% 0.0208 -0.0513)
OKLCHoklch(39.57% 0.055 292)
XYZxyz(6.6929, 6.0019, 12.3588)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474162 #5C6241
analogous
#414C62 #474162 #584162
triadic
#474162 #624741 #416247
tetradic
#474162 #62414C #5C6241 #416258
square
#474162 #62414C #5C6241 #416258
split-complementary
#474162 #625841 #4C6241
monochromatic
#121018 #2C293D #474162 #625987 #8078A5

Accessibility & contrast

On white

9.54
#474162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#474162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474162
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474162#FFFFFF#000000##FFFFFF
##4741621.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384663
Deuteranopia (green-blind)
#394561
Tritanopia (blue-blind)
#41474D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #474162;
/* rgb */ color: rgb(71, 65, 98);
/* oklch */ color: oklch(39.6% 0.055 292.0);
Tailwind
colors: {
  custom: {
    50: '#7b758e',
    500: '#474162',
    950: '#000000',
  },
}
SCSS
$custom: #474162;
$custom-light: #7b758e;
$custom-dark: #000000;
JSON
{
  "hex": "#474162",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 250.909,
    "s": 20.245,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39566,
    "c": 0.05537,
    "h": 292
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#474162
secondary
#8B916D
accent
#BD6BAE
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#09080C
muted
#7B7B7D

Preview Lab

Preview with #474162

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

Preview Lab → · Contrast checker → · Palette generator →

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