#472283#472283

#472283 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.152 H 295.1°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#472283
RGBrgb(71, 34, 131)
HSLhsl(263, 59%, 32%)
HSVhsv(263, 74%, 51%)
CMYKcmyk(45.8%, 74%, 0%, 48.6%)
CIE-LABlab(24.07, 39.49, -48.06)
CIE-LCHlch(24.07, 62.20, 309.41°)
OKLaboklab(36.3% 0.0646 -0.1376)
OKLCHoklch(36.3% 0.152 295.1)
XYZxyz(7.2662, 4.1222, 21.8811)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472283 #5E8322
analogous
#222D83 #472283 #782283
triadic
#472283 #834722 #228347
tetradic
#472283 #83222D #5E8322 #228378
square
#472283 #83222D #5E8322 #228378
split-complementary
#472283 #837822 #2D8322
monochromatic
#120922 #2D1552 #472283 #612FB4 #804ED1

Accessibility & contrast

On white

11.51
#472283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#472283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472283
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472283#FFFFFF#000000##FFFFFF
##4722831.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#363B50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472283;
/* rgb */ color: rgb(71, 34, 131);
/* oklch */ color: oklch(36.3% 0.152 295.1);
Tailwind
colors: {
  custom: {
    50: '#8061a8',
    500: '#472283',
    950: '#000000',
  },
}
SCSS
$custom: #472283;
$custom-light: #8061a8;
$custom-dark: #000000;
JSON
{
  "hex": "#472283",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 262.887,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.363,
    "c": 0.15197,
    "h": 295.1
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#472283
secondary
#8DB44C
accent
#E246A6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472283

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

Preview Lab → · Contrast checker → · Palette generator →

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