#471975#471975

#471975 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.146 H 301.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#471975
RGBrgb(71, 25, 117)
HSLhsl(270, 65%, 28%)
HSVhsv(270, 79%, 46%)
CMYKcmyk(39.3%, 78.6%, 0%, 54.1%)
CIE-LABlab(21.28, 40.11, -43.72)
CIE-LCHlch(21.28, 59.33, 312.54°)
OKLaboklab(33.95% 0.0768 -0.1248)
OKLCHoklch(33.95% 0.146 301.6)
XYZxyz(6.1563, 3.3192, 17.1425)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471975 #477519
analogous
#191975 #471975 #751975
triadic
#471975 #754719 #197547
tetradic
#471975 #751919 #477519 #197575
square
#471975 #751919 #477519 #197575
split-complementary
#471975 #757519 #197519
monochromatic
#0F0519 #280E43 #471975 #6624A7 #8435D4

Accessibility & contrast

On white

12.62
#471975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#471975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471975
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471975#FFFFFF#000000##FFFFFF
##4719751.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#3D3146
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471975;
/* rgb */ color: rgb(71, 25, 117);
/* oklch */ color: oklch(33.9% 0.146 301.6);
Tailwind
colors: {
  custom: {
    50: '#7f5b9e',
    500: '#471975',
    950: '#000000',
  },
}
SCSS
$custom: #471975;
$custom-light: #7f5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471975",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 270,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33947,
    "c": 0.14649,
    "h": 301.6
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#471975
secondary
#75AA40
accent
#E84094
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471975

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

Preview Lab → · Contrast checker → · Palette generator →

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