#472CA1#472CA1

#472CA1 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.177 H 286.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#472CA1
RGBrgb(71, 44, 161)
HSLhsl(254, 57%, 40%)
HSVhsv(254, 73%, 63%)
CMYKcmyk(55.9%, 72.7%, 0%, 36.9%)
CIE-LABlab(28.68, 42.91, -59.04)
CIE-LCHlch(28.68, 72.99, 306.01°)
OKLaboklab(40.4% 0.0488 -0.1698)
OKLCHoklch(40.4% 0.177 286)
XYZxyz(9.9303, 5.7136, 34.2909)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CA1 #86A12C
analogous
#2C4CA1 #472CA1 #812CA1
triadic
#472CA1 #A1472C #2CA147
tetradic
#472CA1 #A12C4C #86A12C #2CA181
square
#472CA1 #A12C4C #86A12C #2CA181
split-complementary
#472CA1 #A1812C #4CA12C
monochromatic
#1D1241 #321F71 #472CA1 #6040CB #8870D8

Accessibility & contrast

On white

9.80
#472CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#472CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CA1
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CA1#FFFFFF#000000##FFFFFF
##472CA11.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#1F4B63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #472ca1;
/* rgb */ color: rgb(71, 44, 161);
/* oklch */ color: oklch(40.4% 0.177 286.0);
Tailwind
colors: {
  custom: {
    50: '#8468be',
    500: '#472ca1',
    950: '#000000',
  },
}
SCSS
$custom: #472ca1;
$custom-light: #8468be;
$custom-dark: #000000;
JSON
{
  "hex": "#472ca1",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 253.846,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40401,
    "c": 0.17671,
    "h": 286
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#472CA1
secondary
#ABBF6A
accent
#E047BD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472CA1

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

Preview Lab → · Contrast checker → · Palette generator →

#472CA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva