#431F82#431F82

#431F82 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.154 H 293.5°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#431F82
RGBrgb(67, 31, 130)
HSLhsl(262, 61%, 32%)
HSVhsv(262, 76%, 51%)
CMYKcmyk(48.5%, 76.2%, 0%, 49%)
CIE-LABlab(22.95, 40.03, -49.29)
CIE-LCHlch(22.95, 63.49, 309.08°)
OKLaboklab(35.37% 0.0615 -0.1413)
OKLCHoklch(35.37% 0.154 293.5)
XYZxyz(6.8329, 3.7848, 21.4853)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F82 #5E821F
analogous
#1F2D82 #431F82 #751F82
triadic
#431F82 #82431F #1F8243
tetradic
#431F82 #821F2D #5E821F #1F8275
square
#431F82 #821F2D #5E821F #1F8275
split-complementary
#431F82 #82751F #2D821F
monochromatic
#10071F #2A1351 #431F82 #5C2BB3 #7B48D3

Accessibility & contrast

On white

11.95
#431F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431F82
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F82#FFFFFF#000000##FFFFFF
##431F821.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#30394F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #431f82;
/* rgb */ color: rgb(67, 31, 130);
/* oklch */ color: oklch(35.4% 0.154 293.5);
Tailwind
colors: {
  custom: {
    50: '#7e5ea7',
    500: '#431f82',
    950: '#000000',
  },
}
SCSS
$custom: #431f82;
$custom-light: #7e5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#431f82",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 261.818,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35366,
    "c": 0.1541,
    "h": 293.5
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#431F82
secondary
#8DB548
accent
#E543AA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #431F82

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

Preview Lab → · Contrast checker → · Palette generator →

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