#472295#472295

#472295 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.173 H 290.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#472295
RGBrgb(71, 34, 149)
HSLhsl(259, 63%, 36%)
HSVhsv(259, 77%, 58%)
CMYKcmyk(52.3%, 77.2%, 0%, 41.6%)
CIE-LABlab(25.72, 44.57, -56.56)
CIE-LCHlch(25.72, 72.01, 308.24°)
OKLaboklab(37.97% 0.06 -0.1625)
OKLCHoklch(37.97% 0.173 290.3)
XYZxyz(8.5938, 4.6532, 28.8733)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472295 #709522
analogous
#223695 #472295 #802295
triadic
#472295 #954722 #229547
tetradic
#472295 #952236 #709522 #229580
square
#472295 #952236 #709522 #229580
split-complementary
#472295 #958022 #369522
monochromatic
#180B31 #2F1763 #472295 #5F2DC7 #8258D9

Accessibility & contrast

On white

10.88
#472295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#472295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472295
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472295#FFFFFF#000000##FFFFFF
##4722951.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472295;
/* rgb */ color: rgb(71, 34, 149);
/* oklch */ color: oklch(38.0% 0.173 290.3);
Tailwind
colors: {
  custom: {
    50: '#8361b5',
    500: '#472295',
    950: '#000000',
  },
}
SCSS
$custom: #472295;
$custom-light: #8361b5;
$custom-dark: #000000;
JSON
{
  "hex": "#472295",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 259.304,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37972,
    "c": 0.17324,
    "h": 290.3
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#472295
secondary
#9CBD56
accent
#E642B1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #472295

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

Preview Lab → · Contrast checker → · Palette generator →

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