#47259F#47259F

#47259F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.182 H 287.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#47259F
RGBrgb(71, 37, 159)
HSLhsl(257, 62%, 38%)
HSVhsv(257, 77%, 62%)
CMYKcmyk(55.3%, 76.7%, 0%, 37.6%)
CIE-LABlab(27.20, 45.96, -60.25)
CIE-LCHlch(27.20, 75.78, 307.34°)
OKLaboklab(39.3% 0.0549 -0.1733)
OKLCHoklch(39.3% 0.182 287.6)
XYZxyz(9.5163, 5.1654, 33.2898)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47259F #7D9F25
analogous
#25409F #47259F #84259F
triadic
#47259F #9F4725 #259F47
tetradic
#47259F #9F2540 #7D9F25 #259F84
square
#47259F #9F2540 #7D9F25 #259F84
split-complementary
#47259F #9F8425 #409F25
monochromatic
#1B0E3C #31196D #47259F #5E32CF #8564DB

Accessibility & contrast

On white

10.33
#47259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#47259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47259F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47259F#FFFFFF#000000##FFFFFF
##47259F1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#224761
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #47259f;
/* rgb */ color: rgb(71, 37, 159);
/* oklch */ color: oklch(39.3% 0.182 287.6);
Tailwind
colors: {
  custom: {
    50: '#8464bc',
    500: '#47259f',
    950: '#000000',
  },
}
SCSS
$custom: #47259f;
$custom-light: #8464bc;
$custom-dark: #000000;
JSON
{
  "hex": "#47259f",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 256.721,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39301,
    "c": 0.18183,
    "h": 287.6
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#47259F
secondary
#A5C05F
accent
#E542B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47259F

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

Preview Lab → · Contrast checker → · Palette generator →

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