#472F93#472F93

#472F93 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.156 H 288.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#472F93
RGBrgb(71, 47, 147)
HSLhsl(254, 52%, 38%)
HSVhsv(254, 68%, 58%)
CMYKcmyk(51.7%, 68%, 0%, 42.4%)
CIE-LABlab(28.06, 36.98, -51.51)
CIE-LCHlch(28.06, 63.40, 305.68°)
OKLaboklab(39.58% 0.0485 -0.1477)
OKLCHoklch(39.58% 0.156 288.2)
XYZxyz(8.8800, 5.4788, 28.1877)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472F93 #7B932F
analogous
#2F4993 #472F93 #792F93
triadic
#472F93 #93472F #2F9347
tetradic
#472F93 #932F49 #7B932F #2F9379
square
#472F93 #932F49 #7B932F #2F9379
split-complementary
#472F93 #93792F #49932F
monochromatic
#1A1136 #312065 #472F93 #5D3EC1 #846CD0

Accessibility & contrast

On white

10.02
#472F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#472F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472F93
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472F93#FFFFFF#000000##FFFFFF
##472F931.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#2C485D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #472f93;
/* rgb */ color: rgb(71, 47, 147);
/* oklch */ color: oklch(39.6% 0.156 288.2);
Tailwind
colors: {
  custom: {
    50: '#8269b4',
    500: '#472f93',
    950: '#000000',
  },
}
SCSS
$custom: #472f93;
$custom-light: #8269b4;
$custom-dark: #000000;
JSON
{
  "hex": "#472f93",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 254.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39576,
    "c": 0.15551,
    "h": 288.2
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#472F93
secondary
#A4B766
accent
#DB4DB9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472F93

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

Preview Lab → · Contrast checker → · Palette generator →

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