#47309E#47309E

#47309E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.168 H 285.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#47309E
RGBrgb(71, 48, 158)
HSLhsl(253, 53%, 40%)
HSVhsv(253, 70%, 62%)
CMYKcmyk(55.1%, 69.6%, 0%, 38%)
CIE-LABlab(29.21, 39.77, -56.34)
CIE-LCHlch(29.21, 68.97, 305.22°)
OKLaboklab(40.7% 0.0458 -0.1619)
OKLCHoklch(40.7% 0.168 285.8)
XYZxyz(9.8252, 5.9216, 32.9664)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47309E #879E30
analogous
#30509E #47309E #7E309E
triadic
#47309E #9E4730 #309E47
tetradic
#47309E #9E3050 #879E30 #309E7E
square
#47309E #9E3050 #879E30 #309E7E
split-complementary
#47309E #9E7E30 #509E30
monochromatic
#1D1340 #32226F #47309E #6045C6 #8874D5

Accessibility & contrast

On white

9.61
#47309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#47309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47309E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47309E#FFFFFF#000000##FFFFFF
##47309E1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#224C63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #47309e;
/* rgb */ color: rgb(71, 48, 158);
/* oklch */ color: oklch(40.7% 0.168 285.8);
Tailwind
colors: {
  custom: {
    50: '#836abc',
    500: '#47309e',
    950: '#000000',
  },
}
SCSS
$custom: #47309e;
$custom-light: #836abc;
$custom-dark: #000000;
JSON
{
  "hex": "#47309e",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 252.545,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.407,
    "c": 0.16831,
    "h": 285.8
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#47309E
secondary
#ACBD6D
accent
#DD4BBE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47309E

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

Preview Lab → · Contrast checker → · Palette generator →

#47309E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva