#47229B#47229B

#47229B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.180 H 288.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#47229B
RGBrgb(71, 34, 155)
HSLhsl(258, 64%, 37%)
HSVhsv(258, 78%, 61%)
CMYKcmyk(54.2%, 78.1%, 0%, 39.2%)
CIE-LABlab(26.30, 46.28, -59.29)
CIE-LCHlch(26.30, 75.21, 307.97°)
OKLaboklab(38.55% 0.0583 -0.1705)
OKLCHoklch(38.55% 0.18 288.9)
XYZxyz(9.0852, 4.8498, 31.4614)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47229B #769B22
analogous
#223A9B #47229B #84229B
triadic
#47229B #9B4722 #229B47
tetradic
#47229B #9B223A #769B22 #229B84
square
#47229B #9B223A #769B22 #229B84
split-complementary
#47229B #9B8422 #3A9B22
monochromatic
#190C37 #301769 #47229B #5E2DCD #835CDB

Accessibility & contrast

On white

10.66
#47229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#47229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47229B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47229B#FFFFFF#000000##FFFFFF
##47229B1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#26445E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #47229b;
/* rgb */ color: rgb(71, 34, 155);
/* oklch */ color: oklch(38.6% 0.180 288.9);
Tailwind
colors: {
  custom: {
    50: '#8462ba',
    500: '#47229b',
    950: '#000000',
  },
}
SCSS
$custom: #47229b;
$custom-light: #8462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47229b",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 258.347,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38554,
    "c": 0.18019,
    "h": 288.9
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#47229B
secondary
#A0C059
accent
#E741B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47229B

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

Preview Lab → · Contrast checker → · Palette generator →

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