#471F75#471F75

#471F75 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.139 H 300.5°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#471F75
RGBrgb(71, 31, 117)
HSLhsl(268, 58%, 29%)
HSVhsv(268, 74%, 46%)
CMYKcmyk(39.3%, 73.5%, 0%, 54.1%)
CIE-LABlab(22.32, 37.18, -42.03)
CIE-LCHlch(22.32, 56.12, 311.49°)
OKLaboklab(34.68% 0.0706 -0.1198)
OKLCHoklch(34.68% 0.139 300.5)
XYZxyz(6.2986, 3.6039, 17.1899)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F75 #4D751F
analogous
#1F2275 #471F75 #721F75
triadic
#471F75 #75471F #1F7547
tetradic
#471F75 #751F22 #4D751F #1F7572
square
#471F75 #751F22 #4D751F #1F7572
split-complementary
#471F75 #75721F #22751F
monochromatic
#0F0618 #2A1245 #471F75 #642CA5 #8242CD

Accessibility & contrast

On white

12.20
#471F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#471F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F75
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F75#FFFFFF#000000##FFFFFF
##471F751.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#3D3447
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471f75;
/* rgb */ color: rgb(71, 31, 117);
/* oklch */ color: oklch(34.7% 0.139 300.5);
Tailwind
colors: {
  custom: {
    50: '#7f5e9d',
    500: '#471f75',
    950: '#000000',
  },
}
SCSS
$custom: #471f75;
$custom-light: #7f5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#471f75",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 267.907,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3468,
    "c": 0.13908,
    "h": 300.5
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#471F75
secondary
#7BA947
accent
#E14699
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #471F75

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

Preview Lab → · Contrast checker → · Palette generator →

#471F75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva