#47237C#47237C

#47237C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.142 H 297.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#47237C
RGBrgb(71, 35, 124)
HSLhsl(264, 56%, 31%)
HSVhsv(264, 72%, 49%)
CMYKcmyk(42.7%, 71.8%, 0%, 51.4%)
CIE-LABlab(23.66, 36.99, -44.31)
CIE-LCHlch(23.66, 57.72, 309.86°)
OKLaboklab(35.82% 0.0649 -0.1266)
OKLCHoklch(35.82% 0.142 297.2)
XYZxyz(6.8367, 3.9968, 19.4761)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47237C #587C23
analogous
#232B7C #47237C #73237C
triadic
#47237C #7C4723 #237C47
tetradic
#47237C #7C232B #587C23 #237C73
square
#47237C #7C232B #587C23 #237C73
split-complementary
#47237C #7C7323 #2B7C23
monochromatic
#10081D #2C164C #47237C #6230AC #804DCD

Accessibility & contrast

On white

11.67
#47237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#47237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47237C
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47237C#FFFFFF#000000##FFFFFF
##47237C1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#3A394C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47237c;
/* rgb */ color: rgb(71, 35, 124);
/* oklch */ color: oklch(35.8% 0.142 297.2);
Tailwind
colors: {
  custom: {
    50: '#7f61a3',
    500: '#47237c',
    950: '#000000',
  },
}
SCSS
$custom: #47237c;
$custom-light: #7f61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#47237c",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 264.27,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35821,
    "c": 0.14224,
    "h": 297.2
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#47237C
secondary
#87AF4C
accent
#DF49A2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47237C

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

Preview Lab → · Contrast checker → · Palette generator →

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