#47259A#47259A

#47259A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.176 H 288.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#47259A
RGBrgb(71, 37, 154)
HSLhsl(257, 61%, 37%)
HSVhsv(257, 76%, 60%)
CMYKcmyk(53.9%, 76%, 0%, 39.6%)
CIE-LABlab(26.72, 44.52, -57.99)
CIE-LCHlch(26.72, 73.10, 307.51°)
OKLaboklab(38.82% 0.0562 -0.1667)
OKLCHoklch(38.82% 0.176 288.6)
XYZxyz(9.0911, 4.9954, 31.0508)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47259A #789A25
analogous
#253D9A #47259A #82259A
triadic
#47259A #9A4725 #259A47
tetradic
#47259A #9A253D #789A25 #259A82
square
#47259A #9A253D #789A25 #259A82
split-complementary
#47259A #9A8225 #3D9A25
monochromatic
#1A0D37 #301969 #47259A #5E31CB #8360D9

Accessibility & contrast

On white

10.50
#47259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#47259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47259A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47259A#FFFFFF#000000##FFFFFF
##47259A1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#27455E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #47259a;
/* rgb */ color: rgb(71, 37, 154);
/* oklch */ color: oklch(38.8% 0.176 288.6);
Tailwind
colors: {
  custom: {
    50: '#8363b9',
    500: '#47259a',
    950: '#000000',
  },
}
SCSS
$custom: #47259a;
$custom-light: #8363b9;
$custom-dark: #000000;
JSON
{
  "hex": "#47259a",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 257.436,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38818,
    "c": 0.17595,
    "h": 288.6
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#47259A
secondary
#A2BE5D
accent
#E443B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47259A

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

Preview Lab → · Contrast checker → · Palette generator →

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