#431F87#431F87

#431F87 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.160 H 292.1°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#431F87
RGBrgb(67, 31, 135)
HSLhsl(261, 63%, 33%)
HSVhsv(261, 77%, 53%)
CMYKcmyk(50.4%, 77%, 0%, 47.1%)
CIE-LABlab(23.41, 41.45, -51.67)
CIE-LCHlch(23.41, 66.24, 308.74°)
OKLaboklab(35.84% 0.0601 -0.1483)
OKLCHoklch(35.84% 0.16 292.1)
XYZxyz(7.1767, 3.9223, 23.2959)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F87 #63871F
analogous
#1F2F87 #431F87 #771F87
triadic
#431F87 #87431F #1F8743
tetradic
#431F87 #871F2F #63871F #1F8777
square
#431F87 #871F2F #63871F #1F8777
split-complementary
#431F87 #87771F #2F871F
monochromatic
#120823 #2A1455 #431F87 #5C2AB9 #7B4BD6

Accessibility & contrast

On white

11.77
#431F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#431F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F87
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F87#FFFFFF#000000##FFFFFF
##431F871.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#2D3B52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #431f87;
/* rgb */ color: rgb(67, 31, 135);
/* oklch */ color: oklch(35.8% 0.160 292.1);
Tailwind
colors: {
  custom: {
    50: '#7f5fab',
    500: '#431f87',
    950: '#000000',
  },
}
SCSS
$custom: #431f87;
$custom-light: #7f5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#431f87",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 260.769,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35838,
    "c": 0.16002,
    "h": 292.1
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#431F87
secondary
#92B84A
accent
#E642AD
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #431F87

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

Preview Lab → · Contrast checker → · Palette generator →

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