#472195#472195

#472195 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.174 H 290.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#472195
RGBrgb(71, 33, 149)
HSLhsl(260, 64%, 36%)
HSVhsv(260, 78%, 58%)
CMYKcmyk(52.3%, 77.9%, 0%, 41.6%)
CIE-LABlab(25.55, 45.06, -56.83)
CIE-LCHlch(25.55, 72.53, 308.41°)
OKLaboklab(37.85% 0.0608 -0.1633)
OKLCHoklch(37.85% 0.174 290.4)
XYZxyz(8.5656, 4.5969, 28.8639)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472195 #6F9521
analogous
#213595 #472195 #812195
triadic
#472195 #954721 #219547
tetradic
#472195 #952135 #6F9521 #219581
square
#472195 #952135 #6F9521 #219581
split-complementary
#472195 #958121 #359521
monochromatic
#170B31 #2F1663 #472195 #5F2CC7 #8257DA

Accessibility & contrast

On white

10.94
#472195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472195
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472195#FFFFFF#000000##FFFFFF
##4721951.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#2B415A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472195;
/* rgb */ color: rgb(71, 33, 149);
/* oklch */ color: oklch(37.9% 0.174 290.4);
Tailwind
colors: {
  custom: {
    50: '#8361b5',
    500: '#472195',
    950: '#000000',
  },
}
SCSS
$custom: #472195;
$custom-light: #8361b5;
$custom-dark: #000000;
JSON
{
  "hex": "#472195",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 259.655,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37854,
    "c": 0.17427,
    "h": 290.4
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#472195
secondary
#9BBE54
accent
#E741B0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #472195

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

Preview Lab → · Contrast checker → · Palette generator →

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