#472EC2#472EC2

#472EC2 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.214 H 280.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#472EC2
RGBrgb(71, 46, 194)
HSLhsl(250, 62%, 47%)
HSVhsv(250, 76%, 76%)
CMYKcmyk(63.4%, 76.3%, 0%, 23.9%)
CIE-LABlab(32.23, 51.76, -72.89)
CIE-LCHlch(32.23, 89.40, 305.38°)
OKLaboklab(43.87% 0.0395 -0.2103)
OKLCHoklch(43.87% 0.214 280.6)
XYZxyz(13.3101, 7.1876, 51.7144)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EC2 #A9C22E
analogous
#2E5FC2 #472EC2 #912EC2
triadic
#472EC2 #C2472E #2EC247
tetradic
#472EC2 #C22E5F #A9C22E #2EC291
square
#472EC2 #C22E5F #A9C22E #2EC291
split-complementary
#472EC2 #C2912E #5FC22E
monochromatic
#23175F #352291 #472EC2 #6C56D7 #9788E3

Accessibility & contrast

On white

8.61
#472EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#472EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EC2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EC2#FFFFFF#000000##FFFFFF
##472EC21.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #472ec2;
/* rgb */ color: rgb(71, 46, 194);
/* oklch */ color: oklch(43.9% 0.214 280.6);
Tailwind
colors: {
  custom: {
    50: '#8a6bd6',
    500: '#472ec2',
    950: '#000000',
  },
}
SCSS
$custom: #472ec2;
$custom-light: #8a6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#472ec2",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 250.135,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43869,
    "c": 0.21402,
    "h": 280.6
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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