#47348E#47348E

#47348E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.0% C 0.142 H 287.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#47348E
RGBrgb(71, 52, 142)
HSLhsl(253, 46%, 38%)
HSVhsv(253, 63%, 56%)
CMYKcmyk(50%, 63.4%, 0%, 44.3%)
CIE-LABlab(28.77, 32.44, -47.27)
CIE-LCHlch(28.77, 57.33, 304.46°)
OKLaboklab(39.96% 0.0437 -0.1353)
OKLCHoklch(39.96% 0.142 287.9)
XYZxyz(8.7076, 5.7482, 26.2366)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47348E #7B8E34
analogous
#344E8E #47348E #74348E
triadic
#47348E #8E4734 #348E47
tetradic
#47348E #8E344E #7B8E34 #348E74
square
#47348E #8E344E #7B8E34 #348E74
split-complementary
#47348E #8E7434 #4E8E34
monochromatic
#1A1334 #312461 #47348E #5D44BB #8471CB

Accessibility & contrast

On white

9.77
#47348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#47348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47348E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47348E#FFFFFF#000000##FFFFFF
##47348E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#2F495C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #47348e;
/* rgb */ color: rgb(71, 52, 142);
/* oklch */ color: oklch(40.0% 0.142 287.9);
Tailwind
colors: {
  custom: {
    50: '#806cb0',
    500: '#47348e',
    950: '#000000',
  },
}
SCSS
$custom: #47348e;
$custom-light: #806cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#47348e",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 252.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39964,
    "c": 0.14218,
    "h": 287.9
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#47348E
secondary
#A4B36A
accent
#D652BA
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #47348E

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

Preview Lab → · Contrast checker → · Palette generator →

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