#472DB2#472DB2

#472DB2 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.196 H 283.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#472DB2
RGBrgb(71, 45, 178)
HSLhsl(252, 60%, 44%)
HSVhsv(252, 75%, 70%)
CMYKcmyk(60.1%, 74.7%, 0%, 30.2%)
CIE-LABlab(30.47, 47.49, -66.32)
CIE-LCHlch(30.47, 81.57, 305.61°)
OKLaboklab(42.16% 0.0441 -0.1911)
OKLCHoklch(42.16% 0.196 283)
XYZxyz(11.5703, 6.4299, 42.7422)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472DB2 #98B22D
analogous
#2D55B2 #472DB2 #892DB2
triadic
#472DB2 #B2472D #2DB247
tetradic
#472DB2 #B22D55 #98B22D #2DB289
square
#472DB2 #B22D55 #98B22D #2DB289
split-complementary
#472DB2 #B2892D #55B22D
monochromatic
#201450 #342181 #472DB2 #654BD1 #8F7CDE

Accessibility & contrast

On white

9.19
#472DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#472DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472DB2
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472DB2#FFFFFF#000000##FFFFFF
##472DB21.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472db2;
/* rgb */ color: rgb(71, 45, 178);
/* oklch */ color: oklch(42.2% 0.196 283.0);
Tailwind
colors: {
  custom: {
    50: '#8769ca',
    500: '#472db2',
    950: '#000000',
  },
}
SCSS
$custom: #472db2;
$custom-light: #8769ca;
$custom-dark: #000000;
JSON
{
  "hex": "#472db2",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 251.729,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42158,
    "c": 0.19617,
    "h": 283
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#472DB2
secondary
#B6C675
accent
#E345C4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #472DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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