#431A71#431A71

#431A71 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.140 H 300.2°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#431A71
RGBrgb(67, 26, 113)
HSLhsl(268, 63%, 27%)
HSVhsv(268, 77%, 44%)
CMYKcmyk(40.7%, 77%, 0%, 55.7%)
CIE-LABlab(20.54, 37.82, -42.38)
CIE-LCHlch(20.54, 56.80, 311.74°)
OKLaboklab(33.19% 0.0705 -0.121)
OKLCHoklch(33.19% 0.14 300.2)
XYZxyz(5.6640, 3.1243, 15.9242)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A71 #48711A
analogous
#1A1C71 #431A71 #6F1A71
triadic
#431A71 #71431A #1A7143
tetradic
#431A71 #711A1C #48711A #1A716F
square
#431A71 #711A1C #48711A #1A716F
split-complementary
#431A71 #716F1A #1C711A
monochromatic
#0F0619 #260F3F #431A71 #6025A3 #7E35D0

Accessibility & contrast

On white

12.92
#431A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#431A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A71
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A71#FFFFFF#000000##FFFFFF
##431A711.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431a71;
/* rgb */ color: rgb(67, 26, 113);
/* oklch */ color: oklch(33.2% 0.140 300.2);
Tailwind
colors: {
  custom: {
    50: '#7c5b9b',
    500: '#431a71',
    950: '#000000',
  },
}
SCSS
$custom: #431a71;
$custom-light: #7c5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431a71",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 268.276,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33191,
    "c": 0.14004,
    "h": 300.2
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#431A71
secondary
#76A641
accent
#E64299
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431A71

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

Preview Lab → · Contrast checker → · Palette generator →

#431A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva