#47348D#47348D

#47348D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.141 H 288.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#47348D
RGBrgb(71, 52, 141)
HSLhsl(253, 46%, 38%)
HSVhsv(253, 63%, 55%)
CMYKcmyk(49.6%, 63.1%, 0%, 44.7%)
CIE-LABlab(28.69, 32.12, -46.78)
CIE-LCHlch(28.69, 56.75, 304.48°)
OKLaboklab(39.88% 0.0438 -0.1338)
OKLCHoklch(39.88% 0.141 288.1)
XYZxyz(8.6329, 5.7183, 25.8430)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47348D #7A8D34
analogous
#344D8D #47348D #73348D
triadic
#47348D #8D4734 #348D47
tetradic
#47348D #8D344D #7A8D34 #348D73
square
#47348D #8D344D #7A8D34 #348D73
split-complementary
#47348D #8D7334 #4D8D34
monochromatic
#1A1334 #302460 #47348D #5E44BA #8471CB

Accessibility & contrast

On white

9.80
#47348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#47348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47348D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47348D#FFFFFF#000000##FFFFFF
##47348D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#2F495B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #47348d;
/* rgb */ color: rgb(71, 52, 141);
/* oklch */ color: oklch(39.9% 0.141 288.1);
Tailwind
colors: {
  custom: {
    50: '#806caf',
    500: '#47348d',
    950: '#000000',
  },
}
SCSS
$custom: #47348d;
$custom-light: #806caf;
$custom-dark: #000000;
JSON
{
  "hex": "#47348d",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 252.809,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.14083,
    "h": 288.1
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #47348D

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

Preview Lab → · Contrast checker → · Palette generator →

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