#472CA2#472CA2

#472CA2 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.178 H 285.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#472CA2
RGBrgb(71, 44, 162)
HSLhsl(254, 57%, 40%)
HSVhsv(254, 73%, 64%)
CMYKcmyk(56.2%, 72.8%, 0%, 36.5%)
CIE-LABlab(28.77, 43.22, -59.50)
CIE-LCHlch(28.77, 73.53, 305.99°)
OKLaboklab(40.49% 0.0486 -0.1712)
OKLCHoklch(40.49% 0.178 285.8)
XYZxyz(10.0188, 5.7490, 34.7572)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CA2 #87A22C
analogous
#2C4CA2 #472CA2 #822CA2
triadic
#472CA2 #A2472C #2CA247
tetradic
#472CA2 #A22C4C #87A22C #2CA282
square
#472CA2 #A22C4C #87A22C #2CA282
split-complementary
#472CA2 #A2822C #4CA22C
monochromatic
#1D1242 #321F72 #472CA2 #6040CB #8870D8

Accessibility & contrast

On white

9.77
#472CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#472CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CA2
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CA2#FFFFFF#000000##FFFFFF
##472CA21.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#1D4C64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #472ca2;
/* rgb */ color: rgb(71, 44, 162);
/* oklch */ color: oklch(40.5% 0.178 285.8);
Tailwind
colors: {
  custom: {
    50: '#8468bf',
    500: '#472ca2',
    950: '#000000',
  },
}
SCSS
$custom: #472ca2;
$custom-light: #8468bf;
$custom-dark: #000000;
JSON
{
  "hex": "#472ca2",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 253.729,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40494,
    "c": 0.17794,
    "h": 285.8
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#472CA2
secondary
#ACBF6A
accent
#E147BD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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