#431A87#431A87

#431A87 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.165 H 292.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#431A87
RGBrgb(67, 26, 135)
HSLhsl(263, 68%, 32%)
HSVhsv(263, 81%, 53%)
CMYKcmyk(50.4%, 80.7%, 0%, 47.1%)
CIE-LABlab(22.59, 43.81, -53.02)
CIE-LCHlch(22.59, 68.78, 309.57°)
OKLaboklab(35.26% 0.0642 -0.1522)
OKLCHoklch(35.26% 0.165 292.9)
XYZxyz(7.0561, 3.6811, 23.2557)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A87 #5E871A
analogous
#1A2887 #431A87 #7A1A87
triadic
#431A87 #87431A #1A8743
tetradic
#431A87 #871A28 #5E871A #1A877A
square
#431A87 #871A28 #5E871A #1A877A
split-complementary
#431A87 #877A1A #28871A
monochromatic
#100620 #2A1054 #431A87 #5C24BA #7B41DA

Accessibility & contrast

On white

12.10
#431A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#431A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A87
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A87#FFFFFF#000000##FFFFFF
##431A871.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#2D3950
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431a87;
/* rgb */ color: rgb(67, 26, 135);
/* oklch */ color: oklch(35.3% 0.165 292.9);
Tailwind
colors: {
  custom: {
    50: '#7f5cab',
    500: '#431a87',
    950: '#000000',
  },
}
SCSS
$custom: #431a87;
$custom-light: #7f5cab;
$custom-dark: #000000;
JSON
{
  "hex": "#431a87",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 262.569,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35261,
    "c": 0.16522,
    "h": 292.9
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#431A87
secondary
#8DBA42
accent
#EB3DA9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431A87

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

Preview Lab → · Contrast checker → · Palette generator →

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