#471175#471175

#471175 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.155 H 302.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#471175
RGBrgb(71, 17, 117)
HSLhsl(272, 75%, 26%)
HSVhsv(272, 85%, 46%)
CMYKcmyk(39.3%, 85.5%, 0%, 54.1%)
CIE-LABlab(20.14, 43.40, -45.58)
CIE-LCHlch(20.14, 62.93, 313.60°)
OKLaboklab(33.15% 0.0836 -0.1302)
OKLCHoklch(33.15% 0.155 302.7)
XYZxyz(6.0091, 3.0248, 17.0934)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471175 #3F7511
analogous
#151175 #471175 #751171
triadic
#471175 #754711 #117547
tetradic
#471175 #751511 #3F7511 #117175
square
#471175 #751511 #3F7511 #117175
split-complementary
#471175 #717511 #117515
monochromatic
#10041B #270940 #471175 #6719AA #8822DF

Accessibility & contrast

On white

13.08
#471175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#471175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471175
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471175#FFFFFF#000000##FFFFFF
##4711751.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#3D2D44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471175;
/* rgb */ color: rgb(71, 17, 117);
/* oklch */ color: oklch(33.2% 0.155 302.7);
Tailwind
colors: {
  custom: {
    50: '#80579e',
    500: '#471175',
    950: '#000000',
  },
}
SCSS
$custom: #471175;
$custom-light: #80579e;
$custom-dark: #000000;
JSON
{
  "hex": "#471175",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 272.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33154,
    "c": 0.1547,
    "h": 302.7
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#471175
secondary
#6CAC36
accent
#F1378C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471175

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

Preview Lab → · Contrast checker → · Palette generator →

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