#431F71#431F71

#431F71 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.134 H 299.2°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#431F71
RGBrgb(67, 31, 113)
HSLhsl(266, 57%, 28%)
HSVhsv(266, 73%, 44%)
CMYKcmyk(40.7%, 72.6%, 0%, 55.7%)
CIE-LABlab(21.45, 35.25, -40.89)
CIE-LCHlch(21.45, 53.98, 310.76°)
OKLaboklab(33.84% 0.0652 -0.1166)
OKLCHoklch(33.84% 0.134 299.2)
XYZxyz(5.7846, 3.3654, 15.9644)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F71 #4D711F
analogous
#1F2471 #431F71 #6C1F71
triadic
#431F71 #71431F #1F7143
tetradic
#431F71 #711F24 #4D711F #1F716C
square
#431F71 #711F24 #4D711F #1F716C
split-complementary
#431F71 #716C1F #24711F
monochromatic
#0E0718 #271241 #431F71 #5F2CA1 #7D40CB

Accessibility & contrast

On white

12.55
#431F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#431F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F71
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F71#FFFFFF#000000##FFFFFF
##431F711.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#383345
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431f71;
/* rgb */ color: rgb(67, 31, 113);
/* oklch */ color: oklch(33.8% 0.134 299.2);
Tailwind
colors: {
  custom: {
    50: '#7c5e9a',
    500: '#431f71',
    950: '#000000',
  },
}
SCSS
$custom: #431f71;
$custom-light: #7c5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#431f71",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 266.341,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33842,
    "c": 0.13361,
    "h": 299.2
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#431F71
secondary
#7CA547
accent
#E0489D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431F71

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

Preview Lab → · Contrast checker → · Palette generator →

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