#472394#472394

#472394 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.171 H 290.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#472394
RGBrgb(71, 35, 148)
HSLhsl(259, 62%, 36%)
HSVhsv(259, 76%, 58%)
CMYKcmyk(52%, 76.4%, 0%, 42%)
CIE-LABlab(25.80, 43.80, -55.81)
CIE-LCHlch(25.80, 70.94, 308.12°)
OKLaboklab(38% 0.0595 -0.1603)
OKLCHoklch(38% 0.171 290.4)
XYZxyz(8.5433, 4.6794, 28.4643)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472394 #709423
analogous
#233794 #472394 #7F2394
triadic
#472394 #944723 #239447
tetradic
#472394 #942337 #709423 #23947F
square
#472394 #942337 #709423 #23947F
split-complementary
#472394 #947F23 #379423
monochromatic
#180C31 #2F1763 #472394 #5F2FC5 #825AD8

Accessibility & contrast

On white

10.85
#472394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#472394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472394
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472394#FFFFFF#000000##FFFFFF
##4723941.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#2C425A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472394;
/* rgb */ color: rgb(71, 35, 148);
/* oklch */ color: oklch(38.0% 0.171 290.4);
Tailwind
colors: {
  custom: {
    50: '#8362b4',
    500: '#472394',
    950: '#000000',
  },
}
SCSS
$custom: #472394;
$custom-light: #8362b4;
$custom-dark: #000000;
JSON
{
  "hex": "#472394",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 259.115,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37998,
    "c": 0.171,
    "h": 290.4
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#472394
secondary
#9CBC57
accent
#E543B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #472394

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

Preview Lab → · Contrast checker → · Palette generator →

#472394 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva