#472175#472175

#472175 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.136 H 300.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#472175
RGBrgb(71, 33, 117)
HSLhsl(267, 56%, 29%)
HSVhsv(267, 72%, 46%)
CMYKcmyk(39.3%, 71.8%, 0%, 54.1%)
CIE-LABlab(22.69, 36.13, -41.42)
CIE-LCHlch(22.69, 54.96, 311.10°)
OKLaboklab(34.95% 0.0683 -0.1181)
OKLCHoklch(34.95% 0.136 300.1)
XYZxyz(6.3525, 3.7116, 17.2079)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472175 #4F7521
analogous
#212575 #472175 #712175
triadic
#472175 #754721 #217547
tetradic
#472175 #752125 #4F7521 #217571
square
#472175 #752125 #4F7521 #217571
split-complementary
#472175 #757121 #257521
monochromatic
#0E0718 #2A1445 #472175 #642EA5 #8246CB

Accessibility & contrast

On white

12.05
#472175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#472175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472175
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472175#FFFFFF#000000##FFFFFF
##4721751.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#3D3548
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #472175;
/* rgb */ color: rgb(71, 33, 117);
/* oklch */ color: oklch(34.9% 0.136 300.1);
Tailwind
colors: {
  custom: {
    50: '#7f5f9d',
    500: '#472175',
    950: '#000000',
  },
}
SCSS
$custom: #472175;
$custom-light: #7f5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#472175",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 267.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3495,
    "c": 0.13641,
    "h": 300.1
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#472175
secondary
#7DA84A
accent
#DF499B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #472175

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

Preview Lab → · Contrast checker → · Palette generator →

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