#471E75#471E75

#471E75 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.140 H 300.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#471E75
RGBrgb(71, 30, 117)
HSLhsl(268, 59%, 29%)
HSVhsv(268, 74%, 46%)
CMYKcmyk(39.3%, 74.4%, 0%, 54.1%)
CIE-LABlab(22.13, 37.69, -42.33)
CIE-LCHlch(22.13, 56.68, 311.68°)
OKLaboklab(34.55% 0.0717 -0.1207)
OKLCHoklch(34.55% 0.14 300.7)
XYZxyz(6.2729, 3.5524, 17.1814)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E75 #4C751E
analogous
#1E2175 #471E75 #731E75
triadic
#471E75 #75471E #1E7547
tetradic
#471E75 #751E21 #4C751E #1E7573
square
#471E75 #751E21 #4C751E #1E7573
split-complementary
#471E75 #75731E #21751E
monochromatic
#0F0618 #291244 #471E75 #652AA6 #8340CE

Accessibility & contrast

On white

12.28
#471E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#471E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E75
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E75#FFFFFF#000000##FFFFFF
##471E751.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471e75;
/* rgb */ color: rgb(71, 30, 117);
/* oklch */ color: oklch(34.5% 0.140 300.7);
Tailwind
colors: {
  custom: {
    50: '#7f5e9d',
    500: '#471e75',
    950: '#000000',
  },
}
SCSS
$custom: #471e75;
$custom-light: #7f5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#471e75",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 268.276,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3455,
    "c": 0.14039,
    "h": 300.7
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#471E75
secondary
#7AA946
accent
#E24598
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471E75

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

Preview Lab → · Contrast checker → · Palette generator →

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