#472A9C#472A9C

#472A9C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.173 H 287.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#472A9C
RGBrgb(71, 42, 156)
HSLhsl(255, 58%, 39%)
HSVhsv(255, 73%, 61%)
CMYKcmyk(54.5%, 73.1%, 0%, 38.8%)
CIE-LABlab(27.83, 42.50, -57.39)
CIE-LCHlch(27.83, 71.41, 306.52°)
OKLaboklab(39.66% 0.0516 -0.165)
OKLCHoklch(39.66% 0.173 287.4)
XYZxyz(9.4255, 5.3953, 31.9908)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A9C #7F9C2A
analogous
#2A469C #472A9C #802A9C
triadic
#472A9C #9C472A #2A9C47
tetradic
#472A9C #9C2A46 #7F9C2A #2A9C80
square
#472A9C #9C2A46 #7F9C2A #2A9C80
split-complementary
#472A9C #9C802A #469C2A
monochromatic
#1B103C #311D6C #472A9C #5E39CA #856AD7

Accessibility & contrast

On white

10.10
#472A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#472A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A9C
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A9C#FFFFFF#000000##FFFFFF
##472A9C1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#244860
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #472a9c;
/* rgb */ color: rgb(71, 42, 156);
/* oklch */ color: oklch(39.7% 0.173 287.4);
Tailwind
colors: {
  custom: {
    50: '#8366ba',
    500: '#472a9c',
    950: '#000000',
  },
}
SCSS
$custom: #472a9c;
$custom-light: #8366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#472a9c",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 255.263,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3966,
    "c": 0.17286,
    "h": 287.4
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#472A9C
secondary
#A7BD65
accent
#E147BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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