#471865#471865

#471865 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.130 H 308.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#471865
RGBrgb(71, 24, 101)
HSLhsl(277, 62%, 25%)
HSVhsv(277, 76%, 40%)
CMYKcmyk(29.7%, 76.2%, 0%, 60.4%)
CIE-LABlab(19.77, 36.52, -35.78)
CIE-LCHlch(19.77, 51.13, 315.58°)
OKLaboklab(32.46% 0.0812 -0.1014)
OKLCHoklch(32.46% 0.13 308.7)
XYZxyz(5.2737, 2.9325, 12.5976)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471865 #366518
analogous
#201865 #471865 #65185D
triadic
#471865 #654718 #186547
tetradic
#471865 #652018 #366518 #185D65
square
#471865 #652018 #366518 #185D65
split-complementary
#471865 #5D6518 #186520
monochromatic
#110619 #240C34 #471865 #6A2496 #8D30C8

Accessibility & contrast

On white

13.24
#471865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#471865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471865
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471865#FFFFFF#000000##FFFFFF
##4718651.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#043063
Tritanopia (blue-blind)
#422A3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471865;
/* rgb */ color: rgb(71, 24, 101);
/* oklch */ color: oklch(32.5% 0.130 308.7);
Tailwind
colors: {
  custom: {
    50: '#7e5a91',
    500: '#471865',
    950: '#000000',
  },
}
SCSS
$custom: #471865;
$custom-light: #7e5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#471865",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 276.623,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32461,
    "c": 0.12995,
    "h": 308.7
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#471865
secondary
#629B3E
accent
#E54382
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #471865

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

Preview Lab → · Contrast checker → · Palette generator →

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