#47309F#47309F

#47309F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.170 H 285.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#47309F
RGBrgb(71, 48, 159)
HSLhsl(252, 54%, 41%)
HSVhsv(252, 70%, 62%)
CMYKcmyk(55.3%, 69.8%, 0%, 37.6%)
CIE-LABlab(29.30, 40.08, -56.81)
CIE-LCHlch(29.30, 69.52, 305.20°)
OKLaboklab(40.79% 0.0457 -0.1633)
OKLCHoklch(40.79% 0.17 285.6)
XYZxyz(9.9116, 5.9562, 33.4215)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47309F #889F30
analogous
#30519F #47309F #7E309F
triadic
#47309F #9F4730 #309F47
tetradic
#47309F #9F3051 #889F30 #309F7E
square
#47309F #9F3051 #889F30 #309F7E
split-complementary
#47309F #9F7E30 #519F30
monochromatic
#1D1441 #322270 #47309F #6045C7 #8874D5

Accessibility & contrast

On white

9.58
#47309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#47309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47309F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47309F#FFFFFF#000000##FFFFFF
##47309F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#214D63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #47309f;
/* rgb */ color: rgb(71, 48, 159);
/* oklch */ color: oklch(40.8% 0.170 285.6);
Tailwind
colors: {
  custom: {
    50: '#836abc',
    500: '#47309f',
    950: '#000000',
  },
}
SCSS
$custom: #47309f;
$custom-light: #836abc;
$custom-dark: #000000;
JSON
{
  "hex": "#47309f",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 252.432,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4079,
    "c": 0.16957,
    "h": 285.6
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#47309F
secondary
#ADBD6E
accent
#DD4BBF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47309F

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

Preview Lab → · Contrast checker → · Palette generator →

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