#47337A#47337A

#47337A is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.116 H 293.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#47337A
RGBrgb(71, 51, 122)
HSLhsl(257, 41%, 34%)
HSVhsv(257, 58%, 48%)
CMYKcmyk(41.8%, 58.2%, 0%, 52.2%)
CIE-LABlab(27.05, 26.91, -37.56)
CIE-LCHlch(27.05, 46.20, 305.62°)
OKLaboklab(38.24% 0.0455 -0.1067)
OKLCHoklch(38.24% 0.116 293.1)
XYZxyz(7.2943, 5.1122, 19.0110)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47337A #667A33
analogous
#33437A #47337A #6B337A
triadic
#47337A #7A4733 #337A47
tetradic
#47337A #7A3343 #667A33 #337A6B
square
#47337A #7A3343 #667A33 #337A6B
split-complementary
#47337A #7A6B33 #437A33
monochromatic
#150F24 #2E214F #47337A #6045A5 #8068C0

Accessibility & contrast

On white

10.38
#47337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#47337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47337A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47337A#FFFFFF#000000##FFFFFF
##47337A1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#153F78
Tritanopia (blue-blind)
#3A4251
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #47337a;
/* rgb */ color: rgb(71, 51, 122);
/* oklch */ color: oklch(38.2% 0.116 293.1);
Tailwind
colors: {
  custom: {
    50: '#7e6ba1',
    500: '#47337a',
    950: '#000000',
  },
}
SCSS
$custom: #47337a;
$custom-light: #7e6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#47337a",
  "rgb": {
    "r": 71,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 256.901,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.11604,
    "h": 293.1
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#47337A
secondary
#94A861
accent
#D157AF
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #47337A

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

Preview Lab → · Contrast checker → · Palette generator →

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