#472268#472268

#472268 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 34.0% C 0.119 H 305.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#472268
RGBrgb(71, 34, 104)
HSLhsl(272, 51%, 27%)
HSVhsv(272, 67%, 41%)
CMYKcmyk(31.7%, 67.3%, 0%, 59.2%)
CIE-LABlab(21.88, 32.06, -34.33)
CIE-LCHlch(21.88, 46.98, 313.04°)
OKLaboklab(34.05% 0.0687 -0.0972)
OKLCHoklch(34.05% 0.119 305.2)
XYZxyz(5.6687, 3.4832, 13.4677)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472268 #436822
analogous
#242268 #472268 #682266
triadic
#472268 #684722 #226847
tetradic
#472268 #682422 #436822 #226668
square
#472268 #682422 #436822 #226668
split-complementary
#472268 #666822 #226824
monochromatic
#100817 #28133A #472268 #663196 #8643C2

Accessibility & contrast

On white

12.38
#472268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#472268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472268
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472268#FFFFFF#000000##FFFFFF
##4722681.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#103566
Tritanopia (blue-blind)
#413141
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #472268;
/* rgb */ color: rgb(71, 34, 104);
/* oklch */ color: oklch(34.0% 0.119 305.2);
Tailwind
colors: {
  custom: {
    50: '#7d5f94',
    500: '#472268',
    950: '#000000',
  },
}
SCSS
$custom: #472268;
$custom-light: #7d5f94;
$custom-dark: #000000;
JSON
{
  "hex": "#472268",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 271.714,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34047,
    "c": 0.11904,
    "h": 305.2
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#472268
secondary
#719C4A
accent
#DA4E90
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #472268

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

Preview Lab → · Contrast checker → · Palette generator →

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