#431571#431571

#431571 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.146 H 301.1°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#431571
RGBrgb(67, 21, 113)
HSLhsl(270, 69%, 26%)
HSVhsv(270, 81%, 44%)
CMYKcmyk(40.7%, 81.4%, 0%, 55.7%)
CIE-LABlab(19.73, 40.13, -43.70)
CIE-LCHlch(19.73, 59.33, 312.56°)
OKLaboklab(32.63% 0.0753 -0.1248)
OKLCHoklch(32.63% 0.146 301.1)
XYZxyz(5.5628, 2.9218, 15.8905)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431571 #437115
analogous
#151571 #431571 #711571
triadic
#431571 #714315 #157143
tetradic
#431571 #711515 #437115 #157171
square
#431571 #711515 #437115 #157171
split-complementary
#431571 #717115 #157115
monochromatic
#0F051A #240B3D #431571 #621FA5 #8029D7

Accessibility & contrast

On white

13.25
#431571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#431571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431571
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431571#FFFFFF#000000##FFFFFF
##4315711.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#392E43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #431571;
/* rgb */ color: rgb(67, 21, 113);
/* oklch */ color: oklch(32.6% 0.146 301.1);
Tailwind
colors: {
  custom: {
    50: '#7c589b',
    500: '#431571',
    950: '#000000',
  },
}
SCSS
$custom: #431571;
$custom-light: #7c589b;
$custom-dark: #000000;
JSON
{
  "hex": "#431571",
  "rgb": {
    "r": 67,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 270,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32625,
    "c": 0.14576,
    "h": 301.1
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#431571
secondary
#71A73B
accent
#EB3C94
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431571

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

Preview Lab → · Contrast checker → · Palette generator →

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