#472391#472391

#472391 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.167 H 291.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#472391
RGBrgb(71, 35, 145)
HSLhsl(260, 61%, 35%)
HSVhsv(260, 76%, 57%)
CMYKcmyk(51%, 75.9%, 0%, 43.1%)
CIE-LABlab(25.52, 42.94, -54.42)
CIE-LCHlch(25.52, 69.32, 308.28°)
OKLaboklab(37.71% 0.0603 -0.1562)
OKLCHoklch(37.71% 0.167 291.1)
XYZxyz(8.3089, 4.5857, 27.2299)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472391 #6D9123
analogous
#233691 #472391 #7E2391
triadic
#472391 #914723 #239147
tetradic
#472391 #912336 #6D9123 #23917E
square
#472391 #912336 #6D9123 #23917E
split-complementary
#472391 #917E23 #369123
monochromatic
#170B2E #2F1760 #472391 #5F2FC2 #8158D7

Accessibility & contrast

On white

10.95
#472391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#472391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472391
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472391#FFFFFF#000000##FFFFFF
##4723911.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#2E4158
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472391;
/* rgb */ color: rgb(71, 35, 145);
/* oklch */ color: oklch(37.7% 0.167 291.1);
Tailwind
colors: {
  custom: {
    50: '#8262b2',
    500: '#472391',
    950: '#000000',
  },
}
SCSS
$custom: #472391;
$custom-light: #8262b2;
$custom-dark: #000000;
JSON
{
  "hex": "#472391",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 259.636,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37714,
    "c": 0.16747,
    "h": 291.1
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#472391
secondary
#9ABB55
accent
#E444B0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #472391

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

Preview Lab → · Contrast checker → · Palette generator →

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