#471275#471275

#471275 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.154 H 302.6°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#471275
RGBrgb(71, 18, 117)
HSLhsl(272, 73%, 26%)
HSVhsv(272, 85%, 46%)
CMYKcmyk(39.3%, 84.6%, 0%, 54.1%)
CIE-LABlab(20.27, 43.03, -45.37)
CIE-LCHlch(20.27, 62.53, 313.48°)
OKLaboklab(33.24% 0.0828 -0.1296)
OKLCHoklch(33.24% 0.154 302.6)
XYZxyz(6.0250, 3.0565, 17.0987)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471275 #407512
analogous
#161275 #471275 #751272
triadic
#471275 #754712 #127547
tetradic
#471275 #751612 #407512 #127275
square
#471275 #751612 #407512 #127275
split-complementary
#471275 #727512 #127516
monochromatic
#10041B #270A40 #471275 #671AAA #8724DD

Accessibility & contrast

On white

13.03
#471275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471275
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471275#FFFFFF#000000##FFFFFF
##4712751.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#3D2E44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471275;
/* rgb */ color: rgb(71, 18, 117);
/* oklch */ color: oklch(33.2% 0.154 302.6);
Tailwind
colors: {
  custom: {
    50: '#80589e',
    500: '#471275',
    950: '#000000',
  },
}
SCSS
$custom: #471275;
$custom-light: #80589e;
$custom-dark: #000000;
JSON
{
  "hex": "#471275",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 272.121,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33241,
    "c": 0.15378,
    "h": 302.6
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#471275
secondary
#6DAC37
accent
#F0388D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471275

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

Preview Lab → · Contrast checker → · Palette generator →

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