#47259E#47259E

#47259E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.181 H 287.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#47259E
RGBrgb(71, 37, 158)
HSLhsl(257, 62%, 38%)
HSVhsv(257, 77%, 62%)
CMYKcmyk(55.1%, 76.6%, 0%, 38%)
CIE-LABlab(27.10, 45.67, -59.80)
CIE-LCHlch(27.10, 75.25, 307.37°)
OKLaboklab(39.2% 0.0552 -0.172)
OKLCHoklch(39.2% 0.181 287.8)
XYZxyz(9.4298, 5.1309, 32.8346)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47259E #7C9E25
analogous
#253F9E #47259E #83259E
triadic
#47259E #9E4725 #259E47
tetradic
#47259E #9E253F #7C9E25 #259E83
square
#47259E #9E253F #7C9E25 #259E83
split-complementary
#47259E #9E8325 #3F9E25
monochromatic
#1A0E3B #31196C #47259E #5E31CF #8563DA

Accessibility & contrast

On white

10.36
#47259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47259E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47259E#FFFFFF#000000##FFFFFF
##47259E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#234760
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #47259e;
/* rgb */ color: rgb(71, 37, 158);
/* oklch */ color: oklch(39.2% 0.181 287.8);
Tailwind
colors: {
  custom: {
    50: '#8464bc',
    500: '#47259e',
    950: '#000000',
  },
}
SCSS
$custom: #47259e;
$custom-light: #8464bc;
$custom-dark: #000000;
JSON
{
  "hex": "#47259e",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 256.86,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39204,
    "c": 0.18066,
    "h": 287.8
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#47259E
secondary
#A5C05F
accent
#E543B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47259E

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

Preview Lab → · Contrast checker → · Palette generator →

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