#47307C#47307C

#47307C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.124 H 293.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#47307C
RGBrgb(71, 48, 124)
HSLhsl(258, 44%, 34%)
HSVhsv(258, 61%, 49%)
CMYKcmyk(42.7%, 61.3%, 0%, 51.4%)
CIE-LABlab(26.47, 29.39, -39.75)
CIE-LCHlch(26.47, 49.44, 306.48°)
OKLaboklab(37.86% 0.0494 -0.1132)
OKLCHoklch(37.86% 0.124 293.6)
XYZxyz(7.2926, 4.9085, 19.6281)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47307C #657C30
analogous
#303F7C #47307C #6D307C
triadic
#47307C #7C4730 #307C47
tetradic
#47307C #7C303F #657C30 #307C6D
square
#47307C #7C303F #657C30 #307C6D
split-complementary
#47307C #7C6D30 #3F7C30
monochromatic
#140E24 #2E1F50 #47307C #6041A8 #8064C3

Accessibility & contrast

On white

10.60
#47307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#47307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47307C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47307C#FFFFFF#000000##FFFFFF
##47307C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#093D7A
Tritanopia (blue-blind)
#394151
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #47307c;
/* rgb */ color: rgb(71, 48, 124);
/* oklch */ color: oklch(37.9% 0.124 293.6);
Tailwind
colors: {
  custom: {
    50: '#7e69a2',
    500: '#47307c',
    950: '#000000',
  },
}
SCSS
$custom: #47307c;
$custom-light: #7e69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#47307c",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 258.158,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37856,
    "c": 0.12351,
    "h": 293.6
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#47307C
secondary
#93AA5E
accent
#D454AD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #47307C

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

Preview Lab → · Contrast checker → · Palette generator →

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