#431F81#431F81

#431F81 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.153 H 293.8°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#431F81
RGBrgb(67, 31, 129)
HSLhsl(262, 61%, 31%)
HSVhsv(262, 76%, 51%)
CMYKcmyk(48.1%, 76%, 0%, 49.4%)
CIE-LABlab(22.85, 39.75, -48.81)
CIE-LCHlch(22.85, 62.94, 309.16°)
OKLaboklab(35.27% 0.0617 -0.1399)
OKLCHoklch(35.27% 0.153 293.8)
XYZxyz(6.7661, 3.7580, 21.1335)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F81 #5D811F
analogous
#1F2C81 #431F81 #741F81
triadic
#431F81 #81431F #1F8143
tetradic
#431F81 #811F2C #5D811F #1F8174
square
#431F81 #811F2C #5D811F #1F8174
split-complementary
#431F81 #81741F #2C811F
monochromatic
#10071E #291350 #431F81 #5D2BB2 #7B47D3

Accessibility & contrast

On white

11.99
#431F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#431F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F81
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F81#FFFFFF#000000##FFFFFF
##431F811.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#31394E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #431f81;
/* rgb */ color: rgb(67, 31, 129);
/* oklch */ color: oklch(35.3% 0.153 293.8);
Tailwind
colors: {
  custom: {
    50: '#7e5ea6',
    500: '#431f81',
    950: '#000000',
  },
}
SCSS
$custom: #431f81;
$custom-light: #7e5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#431f81",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 262.041,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35273,
    "c": 0.15291,
    "h": 293.8
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#431F81
secondary
#8CB448
accent
#E443A9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #431F81

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

Preview Lab → · Contrast checker → · Palette generator →

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