#431E87#431E87

#431E87 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.161 H 292.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#431E87
RGBrgb(67, 30, 135)
HSLhsl(261, 64%, 32%)
HSVhsv(261, 78%, 53%)
CMYKcmyk(50.4%, 77.8%, 0%, 47.1%)
CIE-LABlab(23.24, 41.94, -51.95)
CIE-LCHlch(23.24, 66.77, 308.92°)
OKLaboklab(35.72% 0.061 -0.1491)
OKLCHoklch(35.72% 0.161 292.2)
XYZxyz(7.1510, 3.8708, 23.2873)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431E87 #62871E
analogous
#1E2E87 #431E87 #781E87
triadic
#431E87 #87431E #1E8743
tetradic
#431E87 #871E2E #62871E #1E8778
square
#431E87 #871E2E #62871E #1E8778
split-complementary
#431E87 #87781E #2E871E
monochromatic
#110823 #2A1355 #431E87 #5C29B9 #7B49D7

Accessibility & contrast

On white

11.84
#431E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#431E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431E87
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431E87#FFFFFF#000000##FFFFFF
##431E871.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#2D3B51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #431e87;
/* rgb */ color: rgb(67, 30, 135);
/* oklch */ color: oklch(35.7% 0.161 292.2);
Tailwind
colors: {
  custom: {
    50: '#7f5eab',
    500: '#431e87',
    950: '#000000',
  },
}
SCSS
$custom: #431e87;
$custom-light: #7f5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#431e87",
  "rgb": {
    "r": 67,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 261.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35716,
    "c": 0.16111,
    "h": 292.2
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#431E87
secondary
#91B948
accent
#E741AC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #431E87

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

Preview Lab → · Contrast checker → · Palette generator →

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