#47248B#47248B

#47248B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.159 H 292.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#47248B
RGBrgb(71, 36, 139)
HSLhsl(260, 59%, 34%)
HSVhsv(260, 74%, 55%)
CMYKcmyk(48.9%, 74.1%, 0%, 45.5%)
CIE-LABlab(25.15, 40.71, -51.30)
CIE-LCHlch(25.15, 65.49, 308.44°)
OKLaboklab(37.29% 0.0608 -0.1471)
OKLCHoklch(37.29% 0.159 292.5)
XYZxyz(7.8883, 4.4652, 24.8673)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47248B #688B24
analogous
#24358B #47248B #7B248B
triadic
#47248B #8B4724 #248B47
tetradic
#47248B #8B2435 #688B24 #248B7B
square
#47248B #8B2435 #688B24 #248B7B
split-complementary
#47248B #8B7B24 #358B24
monochromatic
#150B2A #2E175A #47248B #6031BC #8156D3

Accessibility & contrast

On white

11.09
#47248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#47248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47248B
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47248B#FFFFFF#000000##FFFFFF
##47248B1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.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: #47248b;
/* rgb */ color: rgb(71, 36, 139);
/* oklch */ color: oklch(37.3% 0.159 292.5);
Tailwind
colors: {
  custom: {
    50: '#8162ae',
    500: '#47248b',
    950: '#000000',
  },
}
SCSS
$custom: #47248b;
$custom-light: #8162ae;
$custom-dark: #000000;
JSON
{
  "hex": "#47248b",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 260.388,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37287,
    "c": 0.15918,
    "h": 292.5
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#47248B
secondary
#95B753
accent
#E246AD
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #47248B

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

Preview Lab → · Contrast checker → · Palette generator →

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