#472097#472097

#472097 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.178 H 290.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#472097
RGBrgb(71, 32, 151)
HSLhsl(260, 65%, 36%)
HSVhsv(260, 79%, 59%)
CMYKcmyk(53%, 78.8%, 0%, 40.8%)
CIE-LABlab(25.58, 46.09, -58.02)
CIE-LCHlch(25.58, 74.10, 308.47°)
OKLaboklab(37.93% 0.061 -0.1668)
OKLCHoklch(37.93% 0.178 290.1)
XYZxyz(8.6993, 4.6066, 29.7029)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472097 #709720
analogous
#203497 #472097 #822097
triadic
#472097 #974720 #209747
tetradic
#472097 #972034 #709720 #209782
square
#472097 #972034 #709720 #209782
split-complementary
#472097 #978220 #349720
monochromatic
#180B32 #2F1564 #472097 #5F2BC9 #8256DB

Accessibility & contrast

On white

10.93
#472097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472097
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472097#FFFFFF#000000##FFFFFF
##4720971.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#2A425B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472097;
/* rgb */ color: rgb(71, 32, 151);
/* oklch */ color: oklch(37.9% 0.178 290.1);
Tailwind
colors: {
  custom: {
    50: '#8361b7',
    500: '#472097',
    950: '#000000',
  },
}
SCSS
$custom: #472097;
$custom-light: #8361b7;
$custom-dark: #000000;
JSON
{
  "hex": "#472097",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 259.664,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.17757,
    "h": 290.1
  },
  "luminance": 0.04607
}

Semantic roles & 50–950 ramp

primary
#472097
secondary
#9CBF54
accent
#E840B1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #472097

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

Preview Lab → · Contrast checker → · Palette generator →

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