#471274#471274

#471274 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.153 H 303.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#471274
RGBrgb(71, 18, 116)
HSLhsl(272, 73%, 26%)
HSVhsv(272, 84%, 45%)
CMYKcmyk(38.8%, 84.5%, 0%, 54.5%)
CIE-LABlab(20.18, 42.78, -44.88)
CIE-LCHlch(20.18, 62.00, 313.63°)
OKLaboklab(33.15% 0.0832 -0.1281)
OKLCHoklch(33.15% 0.153 303)
XYZxyz(5.9665, 3.0332, 16.7907)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471274 #3F7412
analogous
#161274 #471274 #741270
triadic
#471274 #744712 #127447
tetradic
#471274 #741612 #3F7412 #127074
square
#471274 #741612 #3F7412 #127074
split-complementary
#471274 #707412 #127416
monochromatic
#10041A #270A3F #471274 #671AA9 #8823DD

Accessibility & contrast

On white

13.07
#471274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#471274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471274
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471274#FFFFFF#000000##FFFFFF
##4712741.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#3E2D44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471274;
/* rgb */ color: rgb(71, 18, 116);
/* oklch */ color: oklch(33.1% 0.153 303.0);
Tailwind
colors: {
  custom: {
    50: '#80589d',
    500: '#471274',
    950: '#000000',
  },
}
SCSS
$custom: #471274;
$custom-light: #80589d;
$custom-dark: #000000;
JSON
{
  "hex": "#471274",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 272.449,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33148,
    "c": 0.15275,
    "h": 303
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#471274
secondary
#6CAB37
accent
#F0388C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471274

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

Preview Lab → · Contrast checker → · Palette generator →

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