#472589#472589

#472589 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.156 H 292.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#472589
RGBrgb(71, 37, 137)
HSLhsl(260, 57%, 34%)
HSVhsv(260, 73%, 54%)
CMYKcmyk(48.2%, 73%, 0%, 46.3%)
CIE-LABlab(25.16, 39.61, -50.03)
CIE-LCHlch(25.16, 63.82, 308.37°)
OKLaboklab(37.24% 0.0603 -0.1434)
OKLCHoklch(37.24% 0.156 292.8)
XYZxyz(7.7742, 4.4686, 24.1150)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472589 #678925
analogous
#253589 #472589 #792589
triadic
#472589 #894725 #258947
tetradic
#472589 #892535 #678925 #258979
square
#472589 #892535 #678925 #258979
split-complementary
#472589 #897925 #358925
monochromatic
#150B29 #2E1859 #472589 #6032B9 #8157D2

Accessibility & contrast

On white

11.09
#472589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#472589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472589
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472589#FFFFFF#000000##FFFFFF
##4725891.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.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: #472589;
/* rgb */ color: rgb(71, 37, 137);
/* oklch */ color: oklch(37.2% 0.156 292.8);
Tailwind
colors: {
  custom: {
    50: '#8163ac',
    500: '#472589',
    950: '#000000',
  },
}
SCSS
$custom: #472589;
$custom-light: #8163ac;
$custom-dark: #000000;
JSON
{
  "hex": "#472589",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 260.4,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.15556,
    "h": 292.8
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#472589
secondary
#95B654
accent
#E147AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #472589

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

Preview Lab → · Contrast checker → · Palette generator →

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