#47237A#47237A

#47237A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.140 H 297.8°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#47237A
RGBrgb(71, 35, 122)
HSLhsl(265, 55%, 31%)
HSVhsv(265, 71%, 48%)
CMYKcmyk(41.8%, 71.3%, 0%, 52.2%)
CIE-LABlab(23.49, 36.43, -43.31)
CIE-LCHlch(23.49, 56.59, 310.07°)
OKLaboklab(35.65% 0.0653 -0.1236)
OKLCHoklch(35.65% 0.14 297.8)
XYZxyz(6.7115, 3.9467, 18.8168)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47237A #567A23
analogous
#232A7A #47237A #72237A
triadic
#47237A #7A4723 #237A47
tetradic
#47237A #7A232A #567A23 #237A72
square
#47237A #7A232A #567A23 #237A72
split-complementary
#47237A #7A7223 #2A7A23
monochromatic
#10081B #2B154A #47237A #6331AA #814CCC

Accessibility & contrast

On white

11.74
#47237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#47237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47237A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47237A#FFFFFF#000000##FFFFFF
##47237A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#3B384B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47237a;
/* rgb */ color: rgb(71, 35, 122);
/* oklch */ color: oklch(35.6% 0.140 297.8);
Tailwind
colors: {
  custom: {
    50: '#7f61a1',
    500: '#47237a',
    950: '#000000',
  },
}
SCSS
$custom: #47237a;
$custom-light: #7f61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#47237a",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 264.828,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3565,
    "c": 0.13979,
    "h": 297.8
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#47237A
secondary
#85AD4C
accent
#DF49A1
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #47237A

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

Preview Lab → · Contrast checker → · Palette generator →

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