#472587#472587

#472587 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.153 H 293.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#472587
RGBrgb(71, 37, 135)
HSLhsl(261, 57%, 34%)
HSVhsv(261, 73%, 53%)
CMYKcmyk(47.4%, 72.6%, 0%, 47.1%)
CIE-LABlab(24.99, 39.04, -49.07)
CIE-LCHlch(24.99, 62.70, 308.50°)
OKLaboklab(37.06% 0.0607 -0.1406)
OKLCHoklch(37.06% 0.153 293.4)
XYZxyz(7.6321, 4.4118, 23.3664)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472587 #658725
analogous
#253487 #472587 #782587
triadic
#472587 #874725 #258747
tetradic
#472587 #872534 #658725 #258778
square
#472587 #872534 #658725 #258778
split-complementary
#472587 #877825 #348725
monochromatic
#140B27 #2E1857 #472587 #6032B7 #8056D1

Accessibility & contrast

On white

11.16
#472587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#472587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472587
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472587#FFFFFF#000000##FFFFFF
##4725871.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#343E53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #472587;
/* rgb */ color: rgb(71, 37, 135);
/* oklch */ color: oklch(37.1% 0.153 293.4);
Tailwind
colors: {
  custom: {
    50: '#8163ab',
    500: '#472587',
    950: '#000000',
  },
}
SCSS
$custom: #472587;
$custom-light: #8163ab;
$custom-dark: #000000;
JSON
{
  "hex": "#472587",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 260.816,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3706,
    "c": 0.15312,
    "h": 293.4
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#472587
secondary
#93B553
accent
#E048AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #472587

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

Preview Lab → · Contrast checker → · Palette generator →

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