#471F95#471F95

#471F95 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.176 H 290.7°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#471F95
RGBrgb(71, 31, 149)
HSLhsl(260, 66%, 35%)
HSVhsv(260, 79%, 58%)
CMYKcmyk(52.3%, 79.2%, 0%, 41.6%)
CIE-LABlab(25.23, 46.00, -57.37)
CIE-LCHlch(25.23, 73.53, 308.72°)
OKLaboklab(37.63% 0.0624 -0.1649)
OKLCHoklch(37.63% 0.176 290.7)
XYZxyz(8.5118, 4.4891, 28.8459)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F95 #6D951F
analogous
#1F3295 #471F95 #821F95
triadic
#471F95 #95471F #1F9547
tetradic
#471F95 #951F32 #6D951F #1F9582
square
#471F95 #951F32 #6D951F #1F9582
split-complementary
#471F95 #95821F #32951F
monochromatic
#170A30 #2F1462 #471F95 #5F2AC8 #8153DB

Accessibility & contrast

On white

11.07
#471F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#471F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F95
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F95#FFFFFF#000000##FFFFFF
##471F951.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#2B415A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #471f95;
/* rgb */ color: rgb(71, 31, 149);
/* oklch */ color: oklch(37.6% 0.176 290.7);
Tailwind
colors: {
  custom: {
    50: '#8360b5',
    500: '#471f95',
    950: '#000000',
  },
}
SCSS
$custom: #471f95;
$custom-light: #8360b5;
$custom-dark: #000000;
JSON
{
  "hex": "#471f95",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 260.339,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37625,
    "c": 0.17627,
    "h": 290.7
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#471F95
secondary
#9ABF51
accent
#E93FAF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #471F95

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

Preview Lab → · Contrast checker → · Palette generator →

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