#471875#471875

#471875 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.148 H 301.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#471875
RGBrgb(71, 24, 117)
HSLhsl(270, 66%, 28%)
HSVhsv(270, 79%, 46%)
CMYKcmyk(39.3%, 79.5%, 0%, 54.1%)
CIE-LABlab(21.12, 40.56, -43.98)
CIE-LCHlch(21.12, 59.83, 312.69°)
OKLaboklab(33.84% 0.0777 -0.1255)
OKLCHoklch(33.84% 0.148 301.8)
XYZxyz(6.1353, 3.2772, 17.1355)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471875 #467518
analogous
#191875 #471875 #751874
triadic
#471875 #754718 #187547
tetradic
#471875 #751918 #467518 #187475
square
#471875 #751918 #467518 #187475
split-complementary
#471875 #747518 #187519
monochromatic
#0F0519 #280E42 #471875 #6622A8 #8532D5

Accessibility & contrast

On white

12.69
#471875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471875
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471875#FFFFFF#000000##FFFFFF
##4718751.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#3D3046
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471875;
/* rgb */ color: rgb(71, 24, 117);
/* oklch */ color: oklch(33.8% 0.148 301.8);
Tailwind
colors: {
  custom: {
    50: '#7f5b9e',
    500: '#471875',
    950: '#000000',
  },
}
SCSS
$custom: #471875;
$custom-light: #7f5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471875",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 270.323,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33836,
    "c": 0.14762,
    "h": 301.8
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#471875
secondary
#74AA3F
accent
#E93F93
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471875

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

Preview Lab → · Contrast checker → · Palette generator →

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