#472EC1#472EC1

#472EC1 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.213 H 280.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#472EC1
RGBrgb(71, 46, 193)
HSLhsl(250, 62%, 47%)
HSVhsv(250, 76%, 76%)
CMYKcmyk(63.2%, 76.2%, 0%, 24.3%)
CIE-LABlab(32.13, 51.46, -72.47)
CIE-LCHlch(32.13, 88.88, 305.38°)
OKLaboklab(43.77% 0.0397 -0.2091)
OKLCHoklch(43.77% 0.213 280.7)
XYZxyz(13.1981, 7.1428, 51.1249)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EC1 #A8C12E
analogous
#2E5FC1 #472EC1 #912EC1
triadic
#472EC1 #C1472E #2EC147
tetradic
#472EC1 #C12E5F #A8C12E #2EC191
square
#472EC1 #C12E5F #A8C12E #2EC191
split-complementary
#472EC1 #C1912E #5FC12E
monochromatic
#23165E #352290 #472EC1 #6C56D7 #9787E2

Accessibility & contrast

On white

8.65
#472EC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#472EC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EC1
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EC1#FFFFFF#000000##FFFFFF
##472EC11.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #472ec1;
/* rgb */ color: rgb(71, 46, 193);
/* oklch */ color: oklch(43.8% 0.213 280.7);
Tailwind
colors: {
  custom: {
    50: '#8a6ad5',
    500: '#472ec1',
    950: '#000000',
  },
}
SCSS
$custom: #472ec1;
$custom-light: #8a6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#472ec1",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 250.204,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.21286,
    "h": 280.7
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#472EC1
secondary
#BFCC7F
accent
#E543C9
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #472EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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