#47248D#47248D

#47248D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.162 H 291.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#47248D
RGBrgb(71, 36, 141)
HSLhsl(260, 59%, 35%)
HSVhsv(260, 74%, 55%)
CMYKcmyk(49.6%, 74.5%, 0%, 44.7%)
CIE-LABlab(25.33, 41.29, -52.25)
CIE-LCHlch(25.33, 66.59, 308.32°)
OKLaboklab(37.47% 0.0604 -0.1499)
OKLCHoklch(37.47% 0.162 291.9)
XYZxyz(8.0358, 4.5241, 25.6440)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47248D #6A8D24
analogous
#24368D #47248D #7C248D
triadic
#47248D #8D4724 #248D47
tetradic
#47248D #8D2436 #6A8D24 #248D7C
square
#47248D #8D2436 #6A8D24 #248D7C
split-complementary
#47248D #8D7C24 #368D24
monochromatic
#160B2B #2E185C #47248D #6030BE #8157D4

Accessibility & contrast

On white

11.02
#47248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#47248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47248D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47248D#FFFFFF#000000##FFFFFF
##47248D1.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47248d;
/* rgb */ color: rgb(71, 36, 141);
/* oklch */ color: oklch(37.5% 0.162 291.9);
Tailwind
colors: {
  custom: {
    50: '#8262af',
    500: '#47248d',
    950: '#000000',
  },
}
SCSS
$custom: #47248d;
$custom-light: #8262af;
$custom-dark: #000000;
JSON
{
  "hex": "#47248d",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 260,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3747,
    "c": 0.16158,
    "h": 291.9
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#47248D
secondary
#97B854
accent
#E345AE
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #47248D

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

Preview Lab → · Contrast checker → · Palette generator →

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