#472A7F#472A7F

#472A7F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.136 H 294.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#472A7F
RGBrgb(71, 42, 127)
HSLhsl(260, 50%, 33%)
HSVhsv(260, 67%, 50%)
CMYKcmyk(44.1%, 66.9%, 0%, 50.2%)
CIE-LABlab(25.34, 33.90, -43.47)
CIE-LCHlch(25.34, 55.13, 307.95°)
OKLaboklab(37.11% 0.0566 -0.1241)
OKLCHoklch(37.11% 0.136 294.5)
XYZxyz(7.2562, 4.5276, 20.5662)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A7F #627F2A
analogous
#2A377F #472A7F #712A7F
triadic
#472A7F #7F472A #2A7F47
tetradic
#472A7F #7F2A37 #627F2A #2A7F71
square
#472A7F #7F2A37 #627F2A #2A7F71
split-complementary
#472A7F #7F712A #377F2A
monochromatic
#140C23 #2D1B51 #472A7F #6139AD #805BC9

Accessibility & contrast

On white

11.02
#472A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#472A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##472A7F#FFFFFF#000000##FFFFFF
##472A7F1.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)
#003D82
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#383E50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472a7f;
/* rgb */ color: rgb(71, 42, 127);
/* oklch */ color: oklch(37.1% 0.136 294.5);
Tailwind
colors: {
  custom: {
    50: '#7f65a5',
    500: '#472a7f',
    950: '#000000',
  },
}
SCSS
$custom: #472a7f;
$custom-light: #7f65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#472a7f",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 260.471,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37107,
    "c": 0.1364,
    "h": 294.5
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#472A7F
secondary
#90AE57
accent
#DA4EAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #472A7F

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

Preview Lab → · Contrast checker → · Palette generator →

#472A7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva