#47188F#47188F

#47188F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.176 H 293.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#47188F
RGBrgb(71, 24, 143)
HSLhsl(264, 71%, 33%)
HSVhsv(264, 83%, 56%)
CMYKcmyk(50.3%, 83.2%, 0%, 43.9%)
CIE-LABlab(23.59, 47.39, -56.35)
CIE-LCHlch(23.59, 73.62, 310.06°)
OKLaboklab(36.31% 0.0694 -0.1618)
OKLCHoklch(36.31% 0.176 293.2)
XYZxyz(7.8817, 3.9758, 26.3334)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47188F #608F18
analogous
#18258F #47188F #82188F
triadic
#47188F #8F4718 #188F47
tetradic
#47188F #8F1825 #608F18 #188F82
square
#47188F #8F1825 #608F18 #188F82
split-complementary
#47188F #8F8218 #258F18
monochromatic
#130626 #2D0F5B #47188F #6121C3 #8042DF

Accessibility & contrast

On white

11.70
#47188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#47188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47188F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47188F#FFFFFF#000000##FFFFFF
##47188F1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#303B55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47188f;
/* rgb */ color: rgb(71, 24, 143);
/* oklch */ color: oklch(36.3% 0.176 293.2);
Tailwind
colors: {
  custom: {
    50: '#835cb1',
    500: '#47188f',
    950: '#000000',
  },
}
SCSS
$custom: #47188f;
$custom-light: #835cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#47188f",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 263.697,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3631,
    "c": 0.17607,
    "h": 293.2
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#47188F
secondary
#8FC043
accent
#EE3AA7
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #47188F

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

Preview Lab → · Contrast checker → · Palette generator →

#47188F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva