#431F83#431F83

#431F83 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.155 H 293.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#431F83
RGBrgb(67, 31, 131)
HSLhsl(262, 62%, 32%)
HSVhsv(262, 76%, 51%)
CMYKcmyk(48.9%, 76.3%, 0%, 48.6%)
CIE-LABlab(23.04, 40.31, -49.77)
CIE-LCHlch(23.04, 64.05, 309.01°)
OKLaboklab(35.46% 0.0612 -0.1427)
OKLCHoklch(35.46% 0.155 293.2)
XYZxyz(6.9003, 3.8117, 21.8405)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F83 #5F831F
analogous
#1F2D83 #431F83 #751F83
triadic
#431F83 #83431F #1F8343
tetradic
#431F83 #831F2D #5F831F #1F8375
square
#431F83 #831F2D #5F831F #1F8375
split-complementary
#431F83 #83751F #2D831F
monochromatic
#100820 #2A1352 #431F83 #5C2BB4 #7B49D4

Accessibility & contrast

On white

11.92
#431F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#431F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F83
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F83#FFFFFF#000000##FFFFFF
##431F831.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#2F3A4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #431f83;
/* rgb */ color: rgb(67, 31, 131);
/* oklch */ color: oklch(35.5% 0.155 293.2);
Tailwind
colors: {
  custom: {
    50: '#7e5fa8',
    500: '#431f83',
    950: '#000000',
  },
}
SCSS
$custom: #431f83;
$custom-light: #7e5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#431f83",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 261.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3546,
    "c": 0.15528,
    "h": 293.2
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#431F83
secondary
#8EB648
accent
#E543AB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #431F83

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

Preview Lab → · Contrast checker → · Palette generator →

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