#474258#474258

#474258 is a dark, muted violet. Relative luminance 0.059; OKLCH L 39.3% C 0.037 H 295.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#474258
RGBrgb(71, 66, 88)
HSLhsl(254, 14%, 30%)
HSVhsv(254, 25%, 35%)
CMYKcmyk(19.3%, 25%, 0%, 65.5%)
CIE-LABlab(29.26, 7.34, -12.33)
CIE-LCHlch(29.26, 14.35, 300.76°)
OKLaboklab(39.3% 0.0158 -0.0337)
OKLCHoklch(39.3% 0.037 295.1)
XYZxyz(6.3078, 5.9406, 10.0449)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474258 #535842
analogous
#424858 #474258 #524258
triadic
#474258 #584742 #425847
tetradic
#474258 #584248 #535842 #425852
square
#474258 #584248 #535842 #425852
split-complementary
#474258 #585242 #485842
monochromatic
#0F0E12 #2B2835 #474258 #635C7B #817A9B

Accessibility & contrast

On white

9.60
#474258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#474258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474258
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474258#FFFFFF#000000##FFFFFF
##4742581.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4559
Deuteranopia (green-blind)
#3E4557
Tritanopia (blue-blind)
#44454A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #474258;
/* rgb */ color: rgb(71, 66, 88);
/* oklch */ color: oklch(39.3% 0.037 295.1);
Tailwind
colors: {
  custom: {
    50: '#7a7687',
    500: '#474258',
    950: '#000000',
  },
}
SCSS
$custom: #474258;
$custom-light: #7a7687;
$custom-dark: #000000;
JSON
{
  "hex": "#474258",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 88
  },
  "hsl": {
    "h": 253.636,
    "s": 14.286,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39298,
    "c": 0.03723,
    "h": 295.1
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#474258
secondary
#82876F
accent
#B771A7
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#09080B
muted
#7B7B7C

Preview Lab

Preview with #474258

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

Preview Lab → · Contrast checker → · Palette generator →

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