#472BBB#472BBB

#472BBB is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.209 H 281.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#472BBB
RGBrgb(71, 43, 187)
HSLhsl(252, 63%, 45%)
HSVhsv(252, 77%, 73%)
CMYKcmyk(62%, 77%, 0%, 26.7%)
CIE-LABlab(31.01, 51.17, -70.78)
CIE-LCHlch(31.01, 87.34, 305.87°)
OKLaboklab(42.8% 0.0431 -0.2042)
OKLCHoklch(42.8% 0.209 281.9)
XYZxyz(12.4292, 6.6543, 47.6335)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BBB #9FBB2B
analogous
#2B57BB #472BBB #8F2BBB
triadic
#472BBB #BB472B #2BBB47
tetradic
#472BBB #BB2B57 #9FBB2B #2BBB8F
square
#472BBB #BB2B57 #9FBB2B #2BBB8F
split-complementary
#472BBB #BB8F2B #57BB2B
monochromatic
#211457 #342089 #472BBB #684DD6 #927FE2

Accessibility & contrast

On white

9.01
#472BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#472BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BBB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BBB#FFFFFF#000000##FFFFFF
##472BBB1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #472bbb;
/* rgb */ color: rgb(71, 43, 187);
/* oklch */ color: oklch(42.8% 0.209 281.9);
Tailwind
colors: {
  custom: {
    50: '#8968d1',
    500: '#472bbb',
    950: '#000000',
  },
}
SCSS
$custom: #472bbb;
$custom-light: #8968d1;
$custom-dark: #000000;
JSON
{
  "hex": "#472bbb",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 251.667,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42801,
    "c": 0.20867,
    "h": 281.9
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#472BBB
secondary
#BACA78
accent
#E642C6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #472BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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