#431371#431371

#431371 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.148 H 301.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#431371
RGBrgb(67, 19, 113)
HSLhsl(271, 71%, 26%)
HSVhsv(271, 83%, 44%)
CMYKcmyk(40.7%, 83.2%, 0%, 55.7%)
CIE-LABlab(19.44, 40.97, -44.17)
CIE-LCHlch(19.44, 60.24, 312.84°)
OKLaboklab(32.42% 0.077 -0.1262)
OKLCHoklch(32.42% 0.148 301.4)
XYZxyz(5.5275, 2.8513, 15.8787)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431371 #417113
analogous
#141371 #431371 #711370
triadic
#431371 #714313 #137143
tetradic
#431371 #711413 #417113 #137071
square
#431371 #711413 #417113 #137071
split-complementary
#431371 #707113 #137114
monochromatic
#10041A #240A3D #431371 #621CA5 #8125DA

Accessibility & contrast

On white

13.37
#431371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#431371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431371
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431371#FFFFFF#000000##FFFFFF
##4313711.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#392D42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #431371;
/* rgb */ color: rgb(67, 19, 113);
/* oklch */ color: oklch(32.4% 0.148 301.4);
Tailwind
colors: {
  custom: {
    50: '#7d579b',
    500: '#431371',
    950: '#000000',
  },
}
SCSS
$custom: #431371;
$custom-light: #7d579b;
$custom-dark: #000000;
JSON
{
  "hex": "#431371",
  "rgb": {
    "r": 67,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 270.638,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32422,
    "c": 0.14783,
    "h": 301.4
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#431371
secondary
#6FA838
accent
#EE3A92
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #431371

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

Preview Lab → · Contrast checker → · Palette generator →

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