#472BB6#472BB6

#472BB6 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.3% C 0.203 H 282.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#472BB6
RGBrgb(71, 43, 182)
HSLhsl(252, 62%, 44%)
HSVhsv(252, 76%, 71%)
CMYKcmyk(61%, 76.4%, 0%, 28.6%)
CIE-LABlab(30.51, 49.70, -68.64)
CIE-LCHlch(30.51, 84.75, 305.91°)
OKLaboklab(42.3% 0.0444 -0.1979)
OKLCHoklch(42.3% 0.203 282.7)
XYZxyz(11.9033, 6.4439, 44.8634)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BB6 #9AB62B
analogous
#2B55B6 #472BB6 #8D2BB6
triadic
#472BB6 #B6472B #2BB647
tetradic
#472BB6 #B62B55 #9AB62B #2BB68D
square
#472BB6 #B62B55 #9AB62B #2BB68D
split-complementary
#472BB6 #B68D2B #55B62B
monochromatic
#201453 #341F84 #472BB6 #664AD4 #907BE0

Accessibility & contrast

On white

9.17
#472BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472BB6
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BB6#FFFFFF#000000##FFFFFF
##472BB61.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472bb6;
/* rgb */ color: rgb(71, 43, 182);
/* oklch */ color: oklch(42.3% 0.203 282.7);
Tailwind
colors: {
  custom: {
    50: '#8868cd',
    500: '#472bb6',
    950: '#000000',
  },
}
SCSS
$custom: #472bb6;
$custom-light: #8868cd;
$custom-dark: #000000;
JSON
{
  "hex": "#472bb6",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 252.086,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.423,
    "c": 0.20286,
    "h": 282.7
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#472BB6
secondary
#B7C875
accent
#E543C4
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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