#472995#472995

#472995 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.165 H 289.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#472995
RGBrgb(71, 41, 149)
HSLhsl(257, 57%, 37%)
HSVhsv(257, 72%, 58%)
CMYKcmyk(52.3%, 72.5%, 0%, 41.6%)
CIE-LABlab(27.00, 40.96, -54.46)
CIE-LCHlch(27.00, 68.14, 306.95°)
OKLaboklab(38.88% 0.054 -0.1564)
OKLCHoklch(38.88% 0.165 289)
XYZxyz(8.8147, 5.0950, 28.9469)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472995 #779529
analogous
#294195 #472995 #7D2995
triadic
#472995 #954729 #299547
tetradic
#472995 #952941 #779529 #29957D
square
#472995 #952941 #779529 #29957D
split-complementary
#472995 #957D29 #419529
monochromatic
#190F35 #301C65 #472995 #5E36C5 #8364D4

Accessibility & contrast

On white

10.40
#472995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#472995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472995
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472995#FFFFFF#000000##FFFFFF
##4729951.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#2B455C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472995;
/* rgb */ color: rgb(71, 41, 149);
/* oklch */ color: oklch(38.9% 0.165 289.0);
Tailwind
colors: {
  custom: {
    50: '#8265b5',
    500: '#472995',
    950: '#000000',
  },
}
SCSS
$custom: #472995;
$custom-light: #8265b5;
$custom-dark: #000000;
JSON
{
  "hex": "#472995",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 256.667,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38876,
    "c": 0.16545,
    "h": 289
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#472995
secondary
#A1BA60
accent
#E048B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472995

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

Preview Lab → · Contrast checker → · Palette generator →

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