#47259C#47259C

#47259C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.178 H 288.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#47259C
RGBrgb(71, 37, 156)
HSLhsl(257, 62%, 38%)
HSVhsv(257, 76%, 61%)
CMYKcmyk(54.5%, 76.3%, 0%, 38.8%)
CIE-LABlab(26.91, 45.10, -58.90)
CIE-LCHlch(26.91, 74.18, 307.44°)
OKLaboklab(39.01% 0.0557 -0.1694)
OKLCHoklch(39.01% 0.178 288.2)
XYZxyz(9.2591, 5.0626, 31.9353)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47259C #7A9C25
analogous
#253E9C #47259C #82259C
triadic
#47259C #9C4725 #259C47
tetradic
#47259C #9C253E #7A9C25 #259C82
square
#47259C #9C253E #7A9C25 #259C82
split-complementary
#47259C #9C8225 #3E9C25
monochromatic
#1A0E39 #30196B #47259C #5E31CD #8462DA

Accessibility & contrast

On white

10.43
#47259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#47259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47259C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47259C#FFFFFF#000000##FFFFFF
##47259C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#25465F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #47259c;
/* rgb */ color: rgb(71, 37, 156);
/* oklch */ color: oklch(39.0% 0.178 288.2);
Tailwind
colors: {
  custom: {
    50: '#8463ba',
    500: '#47259c',
    950: '#000000',
  },
}
SCSS
$custom: #47259c;
$custom-light: #8463ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47259c",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 257.143,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39011,
    "c": 0.1783,
    "h": 288.2
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#47259C
secondary
#A3BF5E
accent
#E543B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47259C

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

Preview Lab → · Contrast checker → · Palette generator →

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