#47338A#47338A

#47338A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.138 H 289.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#47338A
RGBrgb(71, 51, 138)
HSLhsl(254, 46%, 37%)
HSVhsv(254, 63%, 54%)
CMYKcmyk(48.6%, 63%, 0%, 45.9%)
CIE-LABlab(28.23, 31.81, -45.67)
CIE-LCHlch(28.23, 55.66, 304.85°)
OKLaboklab(39.47% 0.0451 -0.1306)
OKLCHoklch(39.47% 0.138 289.1)
XYZxyz(8.3685, 5.5419, 24.6686)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47338A #768A33
analogous
#334B8A #47338A #73338A
triadic
#47338A #8A4733 #338A47
tetradic
#47338A #8A334B #768A33 #338A73
square
#47338A #8A334B #768A33 #338A73
split-complementary
#47338A #8A7333 #4B8A33
monochromatic
#191231 #30225D #47338A #5E44B7 #836EC9

Accessibility & contrast

On white

9.96
#47338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#47338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47338A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47338A#FFFFFF#000000##FFFFFF
##47338A1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#314759
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #47338a;
/* rgb */ color: rgb(71, 51, 138);
/* oklch */ color: oklch(39.5% 0.138 289.1);
Tailwind
colors: {
  custom: {
    50: '#806cad',
    500: '#47338a',
    950: '#000000',
  },
}
SCSS
$custom: #47338a;
$custom-light: #806cad;
$custom-dark: #000000;
JSON
{
  "hex": "#47338a",
  "rgb": {
    "r": 71,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 253.793,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.13817,
    "h": 289.1
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#47338A
secondary
#A0B167
accent
#D652B7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #47338A

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

Preview Lab → · Contrast checker → · Palette generator →

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