#472985#472985

#472985 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.145 H 293.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#472985
RGBrgb(71, 41, 133)
HSLhsl(260, 53%, 34%)
HSVhsv(260, 69%, 52%)
CMYKcmyk(46.6%, 69.2%, 0%, 47.8%)
CIE-LABlab(25.62, 36.24, -46.79)
CIE-LCHlch(25.62, 59.18, 307.76°)
OKLaboklab(37.46% 0.0569 -0.1339)
OKLCHoklch(37.46% 0.145 293)
XYZxyz(7.6239, 4.6187, 22.6756)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472985 #678529
analogous
#293985 #472985 #752985
triadic
#472985 #854729 #298547
tetradic
#472985 #852939 #678529 #298575
square
#472985 #852939 #678529 #298575
split-complementary
#472985 #857529 #398529
monochromatic
#150C27 #2E1B56 #472985 #6037B4 #815CCD

Accessibility & contrast

On white

10.92
#472985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#472985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472985
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472985#FFFFFF#000000##FFFFFF
##4729851.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#353F53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472985;
/* rgb */ color: rgb(71, 41, 133);
/* oklch */ color: oklch(37.5% 0.145 293.0);
Tailwind
colors: {
  custom: {
    50: '#8065a9',
    500: '#472985',
    950: '#000000',
  },
}
SCSS
$custom: #472985;
$custom-light: #8065a9;
$custom-dark: #000000;
JSON
{
  "hex": "#472985",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 259.565,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37458,
    "c": 0.14547,
    "h": 293
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#472985
secondary
#95B258
accent
#DC4CAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472985

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

Preview Lab → · Contrast checker → · Palette generator →

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