#47238A#47238A

#47238A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.159 H 292.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#47238A
RGBrgb(71, 35, 138)
HSLhsl(261, 60%, 34%)
HSVhsv(261, 75%, 54%)
CMYKcmyk(48.6%, 74.6%, 0%, 45.9%)
CIE-LABlab(24.88, 40.95, -51.12)
CIE-LCHlch(24.88, 65.50, 308.69°)
OKLaboklab(37.07% 0.062 -0.1466)
OKLCHoklch(37.07% 0.159 292.9)
XYZxyz(7.7857, 4.3764, 24.4743)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47238A #668A23
analogous
#23338A #47238A #7B238A
triadic
#47238A #8A4723 #238A47
tetradic
#47238A #8A2333 #668A23 #238A7B
square
#47238A #8A2333 #668A23 #238A7B
split-complementary
#47238A #8A7B23 #338A23
monochromatic
#150A28 #2E1759 #47238A #602FBB #8054D4

Accessibility & contrast

On white

11.20
#47238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#47238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47238A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47238A#FFFFFF#000000##FFFFFF
##47238A1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#323E54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47238a;
/* rgb */ color: rgb(71, 35, 138);
/* oklch */ color: oklch(37.1% 0.159 292.9);
Tailwind
colors: {
  custom: {
    50: '#8161ad',
    500: '#47238a',
    950: '#000000',
  },
}
SCSS
$custom: #47238a;
$custom-light: #8161ad;
$custom-dark: #000000;
JSON
{
  "hex": "#47238a",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 260.971,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37065,
    "c": 0.15915,
    "h": 292.9
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#47238A
secondary
#94B751
accent
#E345AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #47238A

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

Preview Lab → · Contrast checker → · Palette generator →

#47238A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva