#472095#472095

#472095 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.175 H 290.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#472095
RGBrgb(71, 32, 149)
HSLhsl(260, 65%, 35%)
HSVhsv(260, 79%, 58%)
CMYKcmyk(52.3%, 78.5%, 0%, 41.6%)
CIE-LABlab(25.39, 45.53, -57.10)
CIE-LCHlch(25.39, 73.04, 308.57°)
OKLaboklab(37.74% 0.0616 -0.1641)
OKLCHoklch(37.74% 0.175 290.6)
XYZxyz(8.5383, 4.5422, 28.8548)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472095 #6E9520
analogous
#203395 #472095 #812095
triadic
#472095 #954720 #209547
tetradic
#472095 #952033 #6E9520 #209581
square
#472095 #952033 #6E9520 #209581
split-complementary
#472095 #958120 #339520
monochromatic
#170A30 #2F1563 #472095 #5F2BC7 #8155DA

Accessibility & contrast

On white

11.00
#472095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#472095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472095
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472095#FFFFFF#000000##FFFFFF
##4720951.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#2B415A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472095;
/* rgb */ color: rgb(71, 32, 149);
/* oklch */ color: oklch(37.7% 0.175 290.6);
Tailwind
colors: {
  custom: {
    50: '#8360b5',
    500: '#472095',
    950: '#000000',
  },
}
SCSS
$custom: #472095;
$custom-light: #8360b5;
$custom-dark: #000000;
JSON
{
  "hex": "#472095",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 260,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37738,
    "c": 0.17528,
    "h": 290.6
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#472095
secondary
#9ABE53
accent
#E840B0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #472095

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

Preview Lab → · Contrast checker → · Palette generator →

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