#472689#472689

#472689 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.154 H 292.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#472689
RGBrgb(71, 38, 137)
HSLhsl(260, 57%, 34%)
HSVhsv(260, 72%, 54%)
CMYKcmyk(48.2%, 72.3%, 0%, 46.3%)
CIE-LABlab(25.36, 39.07, -49.72)
CIE-LCHlch(25.36, 63.23, 308.16°)
OKLaboklab(37.38% 0.0593 -0.1425)
OKLCHoklch(37.38% 0.154 292.6)
XYZxyz(7.8057, 4.5317, 24.1255)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472689 #688926
analogous
#263789 #472689 #792689
triadic
#472689 #894726 #268947
tetradic
#472689 #892637 #688926 #268979
square
#472689 #892637 #688926 #268979
split-complementary
#472689 #897926 #378926
monochromatic
#150B29 #2E1959 #472689 #6033B9 #8159D1

Accessibility & contrast

On white

11.02
#472689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#472689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472689
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472689#FFFFFF#000000##FFFFFF
##4726891.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#333F54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472689;
/* rgb */ color: rgb(71, 38, 137);
/* oklch */ color: oklch(37.4% 0.154 292.6);
Tailwind
colors: {
  custom: {
    50: '#8163ac',
    500: '#472689',
    950: '#000000',
  },
}
SCSS
$custom: #472689;
$custom-light: #8163ac;
$custom-dark: #000000;
JSON
{
  "hex": "#472689",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 260,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37376,
    "c": 0.15434,
    "h": 292.6
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#472689
secondary
#95B655
accent
#E048AD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #472689

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

Preview Lab → · Contrast checker → · Palette generator →

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