#431F8A#431F8A

#431F8A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.164 H 291.3°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#431F8A
RGBrgb(67, 31, 138)
HSLhsl(260, 63%, 33%)
HSVhsv(260, 78%, 54%)
CMYKcmyk(51.4%, 77.5%, 0%, 45.9%)
CIE-LABlab(23.70, 42.30, -53.08)
CIE-LCHlch(23.70, 67.87, 308.56°)
OKLaboklab(36.13% 0.0593 -0.1524)
OKLCHoklch(36.13% 0.164 291.3)
XYZxyz(7.3909, 4.0080, 24.4240)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F8A #668A1F
analogous
#1F308A #431F8A #781F8A
triadic
#431F8A #8A431F #1F8A43
tetradic
#431F8A #8A1F30 #668A1F #1F8A78
square
#431F8A #8A1F30 #668A1F #1F8A78
split-complementary
#431F8A #8A781F #308A1F
monochromatic
#120926 #2B1458 #431F8A #5B2ABC #7B4CD7

Accessibility & contrast

On white

11.66
#431F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#431F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F8A
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F8A#FFFFFF#000000##FFFFFF
##431F8A1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#2B3C53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #431f8a;
/* rgb */ color: rgb(67, 31, 138);
/* oklch */ color: oklch(36.1% 0.164 291.3);
Tailwind
colors: {
  custom: {
    50: '#7f5fad',
    500: '#431f8a',
    950: '#000000',
  },
}
SCSS
$custom: #431f8a;
$custom-light: #7f5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#431f8a",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 260.187,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36125,
    "c": 0.16356,
    "h": 291.3
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#431F8A
secondary
#94BA4B
accent
#E641AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #431F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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