#47248C#47248C

#47248C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.160 H 292.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#47248C
RGBrgb(71, 36, 140)
HSLhsl(260, 59%, 35%)
HSVhsv(260, 74%, 55%)
CMYKcmyk(49.3%, 74.3%, 0%, 45.1%)
CIE-LABlab(25.24, 41.00, -51.77)
CIE-LCHlch(25.24, 66.04, 308.38°)
OKLaboklab(37.38% 0.0606 -0.1485)
OKLCHoklch(37.38% 0.16 292.2)
XYZxyz(7.9617, 4.4945, 25.2539)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47248C #698C24
analogous
#24358C #47248C #7B248C
triadic
#47248C #8C4724 #248C47
tetradic
#47248C #8C2435 #698C24 #248C7B
square
#47248C #8C2435 #698C24 #248C7B
split-complementary
#47248C #8C7B24 #358C24
monochromatic
#160B2B #2E175B #47248C #6031BD #8157D4

Accessibility & contrast

On white

11.06
#47248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47248C
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47248C#FFFFFF#000000##FFFFFF
##47248C1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#313F56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #47248c;
/* rgb */ color: rgb(71, 36, 140);
/* oklch */ color: oklch(37.4% 0.160 292.2);
Tailwind
colors: {
  custom: {
    50: '#8162af',
    500: '#47248c',
    950: '#000000',
  },
}
SCSS
$custom: #47248c;
$custom-light: #8162af;
$custom-dark: #000000;
JSON
{
  "hex": "#47248c",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 260.192,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37378,
    "c": 0.16039,
    "h": 292.2
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#47248C
secondary
#96B854
accent
#E246AE
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #47248C

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

Preview Lab → · Contrast checker → · Palette generator →

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