#471262#471262

#471262 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.134 H 311.1°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#471262
RGBrgb(71, 18, 98)
HSLhsl(280, 69%, 23%)
HSVhsv(280, 82%, 38%)
CMYKcmyk(27.6%, 81.6%, 0%, 61.6%)
CIE-LABlab(18.60, 38.44, -35.70)
CIE-LCHlch(18.60, 52.46, 317.12°)
OKLaboklab(31.56% 0.0881 -0.1011)
OKLCHoklch(31.56% 0.134 311.1)
XYZxyz(5.0190, 2.6542, 11.8008)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471262 #2D6212
analogous
#1F1262 #471262 #621255
triadic
#471262 #624712 #126247
tetradic
#471262 #621F12 #2D6212 #125562
square
#471262 #621F12 #2D6212 #125562
split-complementary
#471262 #556212 #12621F
monochromatic
#13051A #22092E #471262 #6C1B96 #9225C9

Accessibility & contrast

On white

13.72
#471262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#471262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471262
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471262#FFFFFF#000000##FFFFFF
##4712621.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#022E60
Tritanopia (blue-blind)
#432539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #471262;
/* rgb */ color: rgb(71, 18, 98);
/* oklch */ color: oklch(31.6% 0.134 311.1);
Tailwind
colors: {
  custom: {
    50: '#7e578f',
    500: '#471262',
    950: '#000000',
  },
}
SCSS
$custom: #471262;
$custom-light: #7e578f;
$custom-dark: #000000;
JSON
{
  "hex": "#471262",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 279.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31558,
    "c": 0.13413,
    "h": 311.1
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#471262
secondary
#589A36
accent
#EC3C77
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #471262

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

Preview Lab → · Contrast checker → · Palette generator →

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