#47208B#47208B

#47208B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.164 H 293.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#47208B
RGBrgb(71, 32, 139)
HSLhsl(262, 63%, 34%)
HSVhsv(262, 77%, 55%)
CMYKcmyk(48.9%, 77%, 0%, 45.5%)
CIE-LABlab(24.44, 42.74, -52.47)
CIE-LCHlch(24.44, 67.67, 309.16°)
OKLaboklab(36.78% 0.0645 -0.1505)
OKLCHoklch(36.78% 0.164 293.2)
XYZxyz(7.7740, 4.2364, 24.8292)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47208B #648B20
analogous
#202E8B #47208B #7C208B
triadic
#47208B #8B4720 #208B47
tetradic
#47208B #8B202E #648B20 #208B7C
square
#47208B #8B202E #648B20 #208B7C
split-complementary
#47208B #8B7C20 #2E8B20
monochromatic
#140928 #2E1559 #47208B #602BBD #804FD6

Accessibility & contrast

On white

11.37
#47208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#47208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47208B
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47208B#FFFFFF#000000##FFFFFF
##47208B1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#323D54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #47208b;
/* rgb */ color: rgb(71, 32, 139);
/* oklch */ color: oklch(36.8% 0.164 293.2);
Tailwind
colors: {
  custom: {
    50: '#8260ae',
    500: '#47208b',
    950: '#000000',
  },
}
SCSS
$custom: #47208b;
$custom-light: #8260ae;
$custom-dark: #000000;
JSON
{
  "hex": "#47208b",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 261.869,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36782,
    "c": 0.16373,
    "h": 293.2
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#47208B
secondary
#92BA4D
accent
#E642AA
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #47208B

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

Preview Lab → · Contrast checker → · Palette generator →

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