#472892#472892

#472892 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.163 H 289.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#472892
RGBrgb(71, 40, 146)
HSLhsl(258, 57%, 36%)
HSVhsv(258, 73%, 57%)
CMYKcmyk(51.4%, 72.6%, 0%, 42.7%)
CIE-LABlab(26.54, 40.62, -53.37)
CIE-LCHlch(26.54, 67.07, 307.27°)
OKLaboklab(38.46% 0.0555 -0.1532)
OKLCHoklch(38.46% 0.163 289.9)
XYZxyz(8.5441, 4.9321, 27.6904)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472892 #739228
analogous
#283E92 #472892 #7C2892
triadic
#472892 #924728 #289247
tetradic
#472892 #92283E #739228 #28927C
square
#472892 #92283E #739228 #28927C
split-complementary
#472892 #927C28 #3E9228
monochromatic
#180E32 #301B62 #472892 #5E35C2 #8261D4

Accessibility & contrast

On white

10.57
#472892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#472892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472892
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472892#FFFFFF#000000##FFFFFF
##4728921.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#2D445A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472892;
/* rgb */ color: rgb(71, 40, 146);
/* oklch */ color: oklch(38.5% 0.163 289.9);
Tailwind
colors: {
  custom: {
    50: '#8265b3',
    500: '#472892',
    950: '#000000',
  },
}
SCSS
$custom: #472892;
$custom-light: #8265b3;
$custom-dark: #000000;
JSON
{
  "hex": "#472892",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 257.547,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.16294,
    "h": 289.9
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#472892
secondary
#9EB95D
accent
#E048B4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472892

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

Preview Lab → · Contrast checker → · Palette generator →

#472892 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva