#471F67#471F67

#471F67 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.122 H 306.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#471F67
RGBrgb(71, 31, 103)
HSLhsl(273, 54%, 26%)
HSVhsv(273, 70%, 40%)
CMYKcmyk(31.1%, 69.9%, 0%, 59.6%)
CIE-LABlab(21.20, 33.46, -34.78)
CIE-LCHlch(21.20, 48.26, 313.89°)
OKLaboklab(33.53% 0.0726 -0.0985)
OKLCHoklch(33.53% 0.122 306.4)
XYZxyz(5.5362, 3.2989, 13.1744)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F67 #3F671F
analogous
#231F67 #471F67 #671F63
triadic
#471F67 #67471F #1F6747
tetradic
#471F67 #67231F #3F671F #1F6367
square
#471F67 #67231F #3F671F #1F6367
split-complementary
#471F67 #63671F #1F6723
monochromatic
#100718 #271138 #471F67 #672D96 #883CC4

Accessibility & contrast

On white

12.65
#471F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#471F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F67
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F67#FFFFFF#000000##FFFFFF
##471F671.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#0D3365
Tritanopia (blue-blind)
#422E40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471f67;
/* rgb */ color: rgb(71, 31, 103);
/* oklch */ color: oklch(33.5% 0.122 306.4);
Tailwind
colors: {
  custom: {
    50: '#7d5e93',
    500: '#471f67',
    950: '#000000',
  },
}
SCSS
$custom: #471f67;
$custom-light: #7d5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#471f67",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 273.333,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33533,
    "c": 0.1224,
    "h": 306.4
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#471F67
secondary
#6C9B46
accent
#DD4B8C
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #471F67

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

Preview Lab → · Contrast checker → · Palette generator →

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