#472F74#472F74

#472F74 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.1% C 0.114 H 296.5°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#472F74
RGBrgb(71, 47, 116)
HSLhsl(261, 42%, 32%)
HSVhsv(261, 59%, 45%)
CMYKcmyk(38.8%, 59.5%, 0%, 54.5%)
CIE-LABlab(25.66, 27.64, -35.98)
CIE-LCHlch(25.66, 45.37, 307.53°)
OKLaboklab(37.08% 0.0508 -0.1021)
OKLCHoklch(37.08% 0.114 296.5)
XYZxyz(6.7666, 4.6335, 17.0575)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472F74 #5C742F
analogous
#2F3A74 #472F74 #6A2F74
triadic
#472F74 #74472F #2F7447
tetradic
#472F74 #742F3A #5C742F #2F746A
square
#472F74 #742F3A #5C742F #2F746A
split-complementary
#472F74 #746A2F #3A742F
monochromatic
#120C1D #2C1D48 #472F74 #6241A0 #805FBE

Accessibility & contrast

On white

10.90
#472F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#472F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472F74
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472F74#FFFFFF#000000##FFFFFF
##472F741.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D76
Deuteranopia (green-blind)
#163C72
Tritanopia (blue-blind)
#3C3D4C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472f74;
/* rgb */ color: rgb(71, 47, 116);
/* oklch */ color: oklch(37.1% 0.114 296.5);
Tailwind
colors: {
  custom: {
    50: '#7d689c',
    500: '#472f74',
    950: '#000000',
  },
}
SCSS
$custom: #472f74;
$custom-light: #7d689c;
$custom-dark: #000000;
JSON
{
  "hex": "#472f74",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 260.87,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3708,
    "c": 0.11406,
    "h": 296.5
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#472F74
secondary
#8BA55A
accent
#D256A7
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #472F74

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

Preview Lab → · Contrast checker → · Palette generator →

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