#472FB1#472FB1

#472FB1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.193 H 282.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#472FB1
RGBrgb(71, 47, 177)
HSLhsl(251, 58%, 44%)
HSVhsv(251, 73%, 69%)
CMYKcmyk(59.9%, 73.4%, 0%, 30.6%)
CIE-LABlab(30.75, 46.13, -65.26)
CIE-LCHlch(30.75, 79.92, 305.26°)
OKLaboklab(42.33% 0.0429 -0.1881)
OKLCHoklch(42.33% 0.193 282.8)
XYZxyz(11.5484, 6.5462, 42.2414)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FB1 #99B12F
analogous
#2F58B1 #472FB1 #882FB1
triadic
#472FB1 #B1472F #2FB147
tetradic
#472FB1 #B12F58 #99B12F #2FB188
square
#472FB1 #B12F58 #99B12F #2FB188
split-complementary
#472FB1 #B1882F #58B12F
monochromatic
#201550 #342281 #472FB1 #654DD0 #8F7EDD

Accessibility & contrast

On white

9.09
#472FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#472FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FB1
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FB1#FFFFFF#000000##FFFFFF
##472FB11.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472fb1;
/* rgb */ color: rgb(71, 47, 177);
/* oklch */ color: oklch(42.3% 0.193 282.8);
Tailwind
colors: {
  custom: {
    50: '#876ac9',
    500: '#472fb1',
    950: '#000000',
  },
}
SCSS
$custom: #472fb1;
$custom-light: #876ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#472fb1",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 251.077,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.19291,
    "h": 282.8
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#472FB1
secondary
#B7C576
accent
#E147C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #472FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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