#47209B#47209B

#47209B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.182 H 289.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#47209B
RGBrgb(71, 32, 155)
HSLhsl(259, 66%, 37%)
HSVhsv(259, 79%, 61%)
CMYKcmyk(54.2%, 79.4%, 0%, 39.2%)
CIE-LABlab(25.98, 47.21, -59.82)
CIE-LCHlch(25.98, 76.21, 308.28°)
OKLaboklab(38.33% 0.0598 -0.172)
OKLCHoklch(38.33% 0.182 289.2)
XYZxyz(9.0297, 4.7387, 31.4429)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47209B #749B20
analogous
#20379B #47209B #85209B
triadic
#47209B #9B4720 #209B47
tetradic
#47209B #9B2037 #749B20 #209B85
square
#47209B #9B2037 #749B20 #209B85
split-complementary
#47209B #9B8520 #379B20
monochromatic
#190B36 #301668 #47209B #5E2ACE #8359DD

Accessibility & contrast

On white

10.78
#47209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#47209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47209B
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47209B#FFFFFF#000000##FFFFFF
##47209B1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#26435D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #47209b;
/* rgb */ color: rgb(71, 32, 155);
/* oklch */ color: oklch(38.3% 0.182 289.2);
Tailwind
colors: {
  custom: {
    50: '#8461ba',
    500: '#47209b',
    950: '#000000',
  },
}
SCSS
$custom: #47209b;
$custom-light: #8461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47209b",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 259.024,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38327,
    "c": 0.18214,
    "h": 289.2
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#47209B
secondary
#9FC156
accent
#E93FB3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #47209B

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

Preview Lab → · Contrast checker → · Palette generator →

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