#471775#471775

#471775 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.149 H 301.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#471775
RGBrgb(71, 23, 117)
HSLhsl(271, 67%, 27%)
HSVhsv(271, 80%, 46%)
CMYKcmyk(39.3%, 80.3%, 0%, 54.1%)
CIE-LABlab(20.97, 41.01, -44.23)
CIE-LCHlch(20.97, 60.31, 312.83°)
OKLaboklab(33.73% 0.0786 -0.1262)
OKLCHoklch(33.73% 0.149 301.9)
XYZxyz(6.1150, 3.2367, 17.1288)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471775 #457517
analogous
#181775 #471775 #751774
triadic
#471775 #754717 #177547
tetradic
#471775 #751817 #457517 #177475
square
#471775 #751817 #457517 #177475
split-complementary
#471775 #747517 #177518
monochromatic
#10051A #280D42 #471775 #6621A8 #8530D6

Accessibility & contrast

On white

12.75
#471775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#471775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471775
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471775#FFFFFF#000000##FFFFFF
##4717751.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#3D3045
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471775;
/* rgb */ color: rgb(71, 23, 117);
/* oklch */ color: oklch(33.7% 0.149 301.9);
Tailwind
colors: {
  custom: {
    50: '#7f5a9e',
    500: '#471775',
    950: '#000000',
  },
}
SCSS
$custom: #471775;
$custom-light: #7f5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471775",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 270.638,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33729,
    "c": 0.14873,
    "h": 301.9
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#471775
secondary
#73AA3D
accent
#EA3E92
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471775

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

Preview Lab → · Contrast checker → · Palette generator →

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