#47258D#47258D

#47258D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.160 H 291.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#47258D
RGBrgb(71, 37, 141)
HSLhsl(260, 58%, 35%)
HSVhsv(260, 74%, 55%)
CMYKcmyk(49.6%, 73.8%, 0%, 44.7%)
CIE-LABlab(25.52, 40.76, -51.94)
CIE-LCHlch(25.52, 66.03, 308.13°)
OKLaboklab(37.6% 0.0594 -0.149)
OKLCHoklch(37.6% 0.16 291.7)
XYZxyz(8.0665, 4.5855, 25.6542)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47258D #6B8D25
analogous
#25378D #47258D #7B258D
triadic
#47258D #8D4725 #258D47
tetradic
#47258D #8D2537 #6B8D25 #258D7B
square
#47258D #8D2537 #6B8D25 #258D7B
split-complementary
#47258D #8D7B25 #378D25
monochromatic
#160C2C #2F185D #47258D #5F32BD #8159D3

Accessibility & contrast

On white

10.95
#47258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#47258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47258D
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47258D#FFFFFF#000000##FFFFFF
##47258D1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#304056
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #47258d;
/* rgb */ color: rgb(71, 37, 141);
/* oklch */ color: oklch(37.6% 0.160 291.7);
Tailwind
colors: {
  custom: {
    50: '#8163af',
    500: '#47258d',
    950: '#000000',
  },
}
SCSS
$custom: #47258d;
$custom-light: #8163af;
$custom-dark: #000000;
JSON
{
  "hex": "#47258d",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 259.615,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37602,
    "c": 0.16041,
    "h": 291.7
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#47258D
secondary
#98B856
accent
#E246AF
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #47258D

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

Preview Lab → · Contrast checker → · Palette generator →

#47258D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva