#472FB2#472FB2

#472FB2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.194 H 282.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#472FB2
RGBrgb(71, 47, 178)
HSLhsl(251, 58%, 44%)
HSVhsv(251, 74%, 70%)
CMYKcmyk(60.1%, 73.6%, 0%, 30.2%)
CIE-LABlab(30.85, 46.44, -65.70)
CIE-LCHlch(30.85, 80.46, 305.25°)
OKLaboklab(42.42% 0.0427 -0.1894)
OKLCHoklch(42.42% 0.194 282.7)
XYZxyz(11.6484, 6.5862, 42.7683)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FB2 #9AB22F
analogous
#2F59B2 #472FB2 #892FB2
triadic
#472FB2 #B2472F #2FB247
tetradic
#472FB2 #B22F59 #9AB22F #2FB289
square
#472FB2 #B22F59 #9AB22F #2FB289
split-complementary
#472FB2 #B2892F #59B22F
monochromatic
#201551 #342282 #472FB2 #664ED0 #907EDD

Accessibility & contrast

On white

9.06
#472FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#472FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FB2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FB2#FFFFFF#000000##FFFFFF
##472FB21.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #472fb2;
/* rgb */ color: rgb(71, 47, 178);
/* oklch */ color: oklch(42.4% 0.194 282.7);
Tailwind
colors: {
  custom: {
    50: '#876aca',
    500: '#472fb2',
    950: '#000000',
  },
}
SCSS
$custom: #472fb2;
$custom-light: #876aca;
$custom-dark: #000000;
JSON
{
  "hex": "#472fb2",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 250.992,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42422,
    "c": 0.19411,
    "h": 282.7
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#472FB2
secondary
#B7C677
accent
#E146C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #472FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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