#472267#472267

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

Color values

HEX#472267
RGBrgb(71, 34, 103)
HSLhsl(272, 50%, 27%)
HSVhsv(272, 67%, 40%)
CMYKcmyk(31.1%, 67%, 0%, 59.6%)
CIE-LABlab(21.81, 31.80, -33.80)
CIE-LCHlch(21.81, 46.40, 313.25°)
OKLaboklab(33.97% 0.0687 -0.0957)
OKLCHoklch(33.97% 0.118 305.7)
XYZxyz(5.6182, 3.4630, 13.2018)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472267 #426722
analogous
#252267 #472267 #672265
triadic
#472267 #674722 #226747
tetradic
#472267 #672522 #426722 #226567
square
#472267 #672522 #426722 #226567
split-complementary
#472267 #656722 #226725
monochromatic
#100817 #271339 #472267 #673195 #8643C1

Accessibility & contrast

On white

12.41
#472267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#472267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472267
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472267#FFFFFF#000000##FFFFFF
##4722671.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#123465
Tritanopia (blue-blind)
#413041
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #472267;
/* rgb */ color: rgb(71, 34, 103);
/* oklch */ color: oklch(34.0% 0.118 305.7);
Tailwind
colors: {
  custom: {
    50: '#7d5f93',
    500: '#472267',
    950: '#000000',
  },
}
SCSS
$custom: #472267;
$custom-light: #7d5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#472267",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 272.174,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33971,
    "c": 0.1178,
    "h": 305.7
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#472267
secondary
#6F9B4A
accent
#DA4E8F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #472267

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

Preview Lab → · Contrast checker → · Palette generator →

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