#47258B#47258B

#47258B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.158 H 292.3°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#47258B
RGBrgb(71, 37, 139)
HSLhsl(260, 58%, 35%)
HSVhsv(260, 73%, 55%)
CMYKcmyk(48.9%, 73.4%, 0%, 45.5%)
CIE-LABlab(25.34, 40.19, -50.99)
CIE-LCHlch(25.34, 64.92, 308.24°)
OKLaboklab(37.42% 0.0599 -0.1462)
OKLCHoklch(37.42% 0.158 292.3)
XYZxyz(7.9190, 4.5265, 24.8776)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47258B #698B25
analogous
#25368B #47258B #7A258B
triadic
#47258B #8B4725 #258B47
tetradic
#47258B #8B2536 #698B25 #258B7A
square
#47258B #8B2536 #698B25 #258B7A
split-complementary
#47258B #8B7A25 #368B25
monochromatic
#160B2A #2E185B #47258B #6032BB #8158D3

Accessibility & contrast

On white

11.02
#47258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#47258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47258B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47258B#FFFFFF#000000##FFFFFF
##47258B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#323F55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #47258b;
/* rgb */ color: rgb(71, 37, 139);
/* oklch */ color: oklch(37.4% 0.158 292.3);
Tailwind
colors: {
  custom: {
    50: '#8163ae',
    500: '#47258b',
    950: '#000000',
  },
}
SCSS
$custom: #47258b;
$custom-light: #8163ae;
$custom-dark: #000000;
JSON
{
  "hex": "#47258b",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 260,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3742,
    "c": 0.15799,
    "h": 292.3
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#47258B
secondary
#96B755
accent
#E147AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #47258B

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

Preview Lab → · Contrast checker → · Palette generator →

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