#471272#471272

#471272 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.151 H 303.8°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#471272
RGBrgb(71, 18, 114)
HSLhsl(273, 73%, 26%)
HSVhsv(273, 84%, 45%)
CMYKcmyk(37.7%, 84.2%, 0%, 55.3%)
CIE-LABlab(19.99, 42.29, -43.89)
CIE-LCHlch(19.99, 60.95, 313.94°)
OKLaboklab(32.96% 0.0838 -0.1252)
OKLCHoklch(32.96% 0.151 303.8)
XYZxyz(5.8514, 2.9871, 16.1846)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471272 #3D7212
analogous
#171272 #471272 #72126D
triadic
#471272 #724712 #127247
tetradic
#471272 #721712 #3D7212 #126D72
square
#471272 #721712 #3D7212 #126D72
split-complementary
#471272 #6D7212 #127217
monochromatic
#10041A #260A3D #471272 #681AA7 #8923DC

Accessibility & contrast

On white

13.15
#471272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#471272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471272
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471272#FFFFFF#000000##FFFFFF
##4712721.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#3E2C43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471272;
/* rgb */ color: rgb(71, 18, 114);
/* oklch */ color: oklch(33.0% 0.151 303.8);
Tailwind
colors: {
  custom: {
    50: '#7f589b',
    500: '#471272',
    950: '#000000',
  },
}
SCSS
$custom: #471272;
$custom-light: #7f589b;
$custom-dark: #000000;
JSON
{
  "hex": "#471272",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 273.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32963,
    "c": 0.15068,
    "h": 303.8
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#471272
secondary
#6AA937
accent
#EF388A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471272

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

Preview Lab → · Contrast checker → · Palette generator →

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