#47248E#47248E

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

Color values

HEX#47248E
RGBrgb(71, 36, 142)
HSLhsl(260, 60%, 35%)
HSVhsv(260, 75%, 56%)
CMYKcmyk(50%, 74.6%, 0%, 44.3%)
CIE-LABlab(25.42, 41.57, -52.72)
CIE-LCHlch(25.42, 67.14, 308.26°)
OKLaboklab(37.56% 0.0601 -0.1513)
OKLCHoklch(37.56% 0.163 291.7)
XYZxyz(8.1105, 4.5540, 26.0376)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47248E #6B8E24
analogous
#24368E #47248E #7C248E
triadic
#47248E #8E4724 #248E47
tetradic
#47248E #8E2436 #6B8E24 #248E7C
square
#47248E #8E2436 #6B8E24 #248E7C
split-complementary
#47248E #8E7C24 #368E24
monochromatic
#160B2C #2F185D #47248E #5F30BF #8158D5

Accessibility & contrast

On white

10.99
#47248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#47248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47248E
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47248E#FFFFFF#000000##FFFFFF
##47248E1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#304057
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #47248e;
/* rgb */ color: rgb(71, 36, 142);
/* oklch */ color: oklch(37.6% 0.163 291.7);
Tailwind
colors: {
  custom: {
    50: '#8262b0',
    500: '#47248e',
    950: '#000000',
  },
}
SCSS
$custom: #47248e;
$custom-light: #8262b0;
$custom-dark: #000000;
JSON
{
  "hex": "#47248e",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 259.811,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37562,
    "c": 0.16278,
    "h": 291.7
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#47248E
secondary
#98B955
accent
#E345AF
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #47248E

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

Preview Lab → · Contrast checker → · Palette generator →

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