#471874#471874

#471874 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.147 H 302.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#471874
RGBrgb(71, 24, 116)
HSLhsl(271, 66%, 27%)
HSVhsv(271, 79%, 45%)
CMYKcmyk(38.8%, 79.3%, 0%, 54.5%)
CIE-LABlab(21.03, 40.31, -43.48)
CIE-LCHlch(21.03, 59.29, 312.83°)
OKLaboklab(33.75% 0.078 -0.1241)
OKLCHoklch(33.75% 0.147 302.1)
XYZxyz(6.0768, 3.2538, 16.8275)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471874 #457418
analogous
#191874 #471874 #741873
triadic
#471874 #744718 #187447
tetradic
#471874 #741918 #457418 #187374
square
#471874 #741918 #457418 #187374
split-complementary
#471874 #737418 #187419
monochromatic
#100519 #280E41 #471874 #6622A7 #8532D5

Accessibility & contrast

On white

12.72
#471874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#471874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471874
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471874#FFFFFF#000000##FFFFFF
##4718741.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#3D3045
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471874;
/* rgb */ color: rgb(71, 24, 116);
/* oklch */ color: oklch(33.7% 0.147 302.1);
Tailwind
colors: {
  custom: {
    50: '#7f5a9d',
    500: '#471874',
    950: '#000000',
  },
}
SCSS
$custom: #471874;
$custom-light: #7f5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#471874",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 270.652,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33746,
    "c": 0.14652,
    "h": 302.1
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#471874
secondary
#73A93F
accent
#E93F92
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471874

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

Preview Lab → · Contrast checker → · Palette generator →

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