#472DAF#472DAF

#472DAF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.193 H 283.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#472DAF
RGBrgb(71, 45, 175)
HSLhsl(252, 59%, 43%)
HSVhsv(252, 74%, 69%)
CMYKcmyk(59.4%, 74.3%, 0%, 31.4%)
CIE-LABlab(30.18, 46.59, -65.00)
CIE-LCHlch(30.18, 79.97, 305.63°)
OKLaboklab(41.87% 0.0448 -0.1873)
OKLCHoklch(41.87% 0.193 283.5)
XYZxyz(11.2724, 6.3108, 41.1732)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472DAF #95AF2D
analogous
#2D54AF #472DAF #882DAF
triadic
#472DAF #AF472D #2DAF47
tetradic
#472DAF #AF2D54 #95AF2D #2DAF88
square
#472DAF #AF2D54 #95AF2D #2DAF88
split-complementary
#472DAF #AF882D #54AF2D
monochromatic
#1F144E #33207E #472DAF #6449D0 #8D7ADD

Accessibility & contrast

On white

9.28
#472DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#472DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472DAF
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472DAF#FFFFFF#000000##FFFFFF
##472DAF1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#02516C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #472daf;
/* rgb */ color: rgb(71, 45, 175);
/* oklch */ color: oklch(41.9% 0.193 283.5);
Tailwind
colors: {
  custom: {
    50: '#8669c8',
    500: '#472daf',
    950: '#000000',
  },
}
SCSS
$custom: #472daf;
$custom-light: #8669c8;
$custom-dark: #000000;
JSON
{
  "hex": "#472daf",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 252,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41867,
    "c": 0.19258,
    "h": 283.5
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#472DAF
secondary
#B4C573
accent
#E246C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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