#47239D#47239D

#47239D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.182 H 288.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#47239D
RGBrgb(71, 35, 157)
HSLhsl(258, 64%, 38%)
HSVhsv(258, 78%, 62%)
CMYKcmyk(54.8%, 77.7%, 0%, 38.4%)
CIE-LABlab(26.66, 46.37, -59.91)
CIE-LCHlch(26.66, 75.76, 307.74°)
OKLaboklab(38.87% 0.057 -0.1723)
OKLCHoklch(38.87% 0.182 288.3)
XYZxyz(9.2836, 4.9755, 32.3629)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47239D #799D23
analogous
#233C9D #47239D #84239D
triadic
#47239D #9D4723 #239D47
tetradic
#47239D #9D233C #799D23 #239D84
square
#47239D #9D233C #799D23 #239D84
split-complementary
#47239D #9D8423 #3C9D23
monochromatic
#1A0D39 #30186B #47239D #5E2ECF #845FDB

Accessibility & contrast

On white

10.53
#47239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#47239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47239D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47239D#FFFFFF#000000##FFFFFF
##47239D1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#24465F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #47239d;
/* rgb */ color: rgb(71, 35, 157);
/* oklch */ color: oklch(38.9% 0.182 288.3);
Tailwind
colors: {
  custom: {
    50: '#8462bb',
    500: '#47239d',
    950: '#000000',
  },
}
SCSS
$custom: #47239d;
$custom-light: #8462bb;
$custom-dark: #000000;
JSON
{
  "hex": "#47239d",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 257.705,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38866,
    "c": 0.18151,
    "h": 288.3
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#47239D
secondary
#A3C05C
accent
#E741B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47239D

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

Preview Lab → · Contrast checker → · Palette generator →

#47239D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva