#472C7E#472C7E

#472C7E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.132 H 294.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#472C7E
RGBrgb(71, 44, 126)
HSLhsl(260, 48%, 33%)
HSVhsv(260, 65%, 49%)
CMYKcmyk(43.7%, 65.1%, 0%, 50.6%)
CIE-LABlab(25.70, 32.42, -42.25)
CIE-LCHlch(25.70, 53.26, 307.50°)
OKLaboklab(37.34% 0.0543 -0.1205)
OKLCHoklch(37.34% 0.132 294.2)
XYZxyz(7.2641, 4.6471, 20.2489)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C7E #637E2C
analogous
#2C3A7E #472C7E #702C7E
triadic
#472C7E #7E472C #2C7E47
tetradic
#472C7E #7E2C3A #637E2C #2C7E70
square
#472C7E #7E2C3A #637E2C #2C7E70
split-complementary
#472C7E #7E702C #3A7E2C
monochromatic
#140C23 #2D1C51 #472C7E #613CAB #805EC7

Accessibility & contrast

On white

10.88
#472C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472C7E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C7E#FFFFFF#000000##FFFFFF
##472C7E1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#383F50
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472c7e;
/* rgb */ color: rgb(71, 44, 126);
/* oklch */ color: oklch(37.3% 0.132 294.2);
Tailwind
colors: {
  custom: {
    50: '#7f67a4',
    500: '#472c7e',
    950: '#000000',
  },
}
SCSS
$custom: #472c7e;
$custom-light: #7f67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#472c7e",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 259.756,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37343,
    "c": 0.13221,
    "h": 294.2
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#472C7E
secondary
#91AD59
accent
#D850AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #472C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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