#431971#431971

#431971 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.141 H 300.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#431971
RGBrgb(67, 25, 113)
HSLhsl(269, 64%, 27%)
HSVhsv(269, 78%, 44%)
CMYKcmyk(40.7%, 77.9%, 0%, 55.7%)
CIE-LABlab(20.36, 38.30, -42.66)
CIE-LCHlch(20.36, 57.33, 311.92°)
OKLaboklab(33.07% 0.0715 -0.1218)
OKLCHoklch(33.07% 0.141 300.4)
XYZxyz(5.6423, 3.0808, 15.9170)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431971 #477119
analogous
#191B71 #431971 #6F1971
triadic
#431971 #714319 #197143
tetradic
#431971 #71191B #477119 #19716F
square
#431971 #71191B #477119 #19716F
split-complementary
#431971 #716F19 #1B7119
monochromatic
#0F0619 #250E3F #431971 #6124A3 #7F33D2

Accessibility & contrast

On white

12.99
#431971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#431971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431971
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431971#FFFFFF#000000##FFFFFF
##4319711.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#383044
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #431971;
/* rgb */ color: rgb(67, 25, 113);
/* oklch */ color: oklch(33.1% 0.141 300.4);
Tailwind
colors: {
  custom: {
    50: '#7c5a9b',
    500: '#431971',
    950: '#000000',
  },
}
SCSS
$custom: #431971;
$custom-light: #7c5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431971",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 268.636,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33071,
    "c": 0.14124,
    "h": 300.4
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#431971
secondary
#75A640
accent
#E74198
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431971

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

Preview Lab → · Contrast checker → · Palette generator →

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