#47338D#47338D

#47338D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.142 H 288.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#47338D
RGBrgb(71, 51, 141)
HSLhsl(253, 47%, 38%)
HSVhsv(253, 64%, 55%)
CMYKcmyk(49.6%, 63.8%, 0%, 44.7%)
CIE-LABlab(28.46, 32.74, -47.15)
CIE-LCHlch(28.46, 57.40, 304.77°)
OKLaboklab(39.72% 0.0449 -0.1349)
OKLCHoklch(39.72% 0.142 288.4)
XYZxyz(8.5887, 5.6300, 25.8283)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47338D #798D33
analogous
#334C8D #47338D #74338D
triadic
#47338D #8D4733 #338D47
tetradic
#47338D #8D334C #798D33 #338D74
square
#47338D #8D334C #798D33 #338D74
split-complementary
#47338D #8D7433 #4C8D33
monochromatic
#1A1233 #302360 #47338D #5E43BA #846FCB

Accessibility & contrast

On white

9.88
#47338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#47338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47338D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47338D#FFFFFF#000000##FFFFFF
##47338D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#2F485B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #47338d;
/* rgb */ color: rgb(71, 51, 141);
/* oklch */ color: oklch(39.7% 0.142 288.4);
Tailwind
colors: {
  custom: {
    50: '#806caf',
    500: '#47338d',
    950: '#000000',
  },
}
SCSS
$custom: #47338d;
$custom-light: #806caf;
$custom-dark: #000000;
JSON
{
  "hex": "#47338d",
  "rgb": {
    "r": 71,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 253.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.14223,
    "h": 288.4
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#47338D
secondary
#A3B369
accent
#D751B9
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #47338D

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

Preview Lab → · Contrast checker → · Palette generator →

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