#47207B#47207B

#47207B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.145 H 298.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#47207B
RGBrgb(71, 32, 123)
HSLhsl(266, 59%, 30%)
HSVhsv(266, 74%, 48%)
CMYKcmyk(42.3%, 74%, 0%, 51.8%)
CIE-LABlab(23.01, 38.30, -44.74)
CIE-LCHlch(23.01, 58.89, 310.57°)
OKLaboklab(35.33% 0.0683 -0.1278)
OKLCHoklch(35.33% 0.145 298.1)
XYZxyz(6.6893, 3.8026, 19.1166)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47207B #547B20
analogous
#20277B #47207B #74207B
triadic
#47207B #7B4720 #207B47
tetradic
#47207B #7B2027 #547B20 #207B74
square
#47207B #7B2027 #547B20 #207B74
split-complementary
#47207B #7B7420 #277B20
monochromatic
#0F071A #2B134A #47207B #632DAC #8146CF

Accessibility & contrast

On white

11.93
#47207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#47207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47207B
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47207B#FFFFFF#000000##FFFFFF
##47207B1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#3A374B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #47207b;
/* rgb */ color: rgb(71, 32, 123);
/* oklch */ color: oklch(35.3% 0.145 298.1);
Tailwind
colors: {
  custom: {
    50: '#7f5fa2',
    500: '#47207b',
    950: '#000000',
  },
}
SCSS
$custom: #47207b;
$custom-light: #7f5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#47207b",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 265.714,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3533,
    "c": 0.14492,
    "h": 298.1
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#47207B
secondary
#83AE49
accent
#E2469F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47207B

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

Preview Lab → · Contrast checker → · Palette generator →

#47207B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva