#431F88#431F88

#431F88 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.161 H 291.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#431F88
RGBrgb(67, 31, 136)
HSLhsl(261, 63%, 33%)
HSVhsv(261, 77%, 53%)
CMYKcmyk(50.7%, 77.2%, 0%, 46.7%)
CIE-LABlab(23.51, 41.73, -52.14)
CIE-LCHlch(23.51, 66.78, 308.68°)
OKLaboklab(35.93% 0.0599 -0.1497)
OKLCHoklch(35.93% 0.161 291.8)
XYZxyz(7.2474, 3.9506, 23.6684)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F88 #64881F
analogous
#1F3088 #431F88 #771F88
triadic
#431F88 #88431F #1F8843
tetradic
#431F88 #881F30 #64881F #1F8877
square
#431F88 #881F30 #64881F #1F8877
split-complementary
#431F88 #88771F #30881F
monochromatic
#120824 #2A1456 #431F88 #5C2ABA #7B4BD6

Accessibility & contrast

On white

11.73
#431F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#431F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F88
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F88#FFFFFF#000000##FFFFFF
##431F881.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#2C3C52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #431f88;
/* rgb */ color: rgb(67, 31, 136);
/* oklch */ color: oklch(35.9% 0.161 291.8);
Tailwind
colors: {
  custom: {
    50: '#7f5fac',
    500: '#431f88',
    950: '#000000',
  },
}
SCSS
$custom: #431f88;
$custom-light: #7f5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#431f88",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 260.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35933,
    "c": 0.16121,
    "h": 291.8
  },
  "luminance": 0.03951
}

Semantic roles & 50–950 ramp

primary
#431F88
secondary
#93B94A
accent
#E642AE
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #431F88

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

Preview Lab → · Contrast checker → · Palette generator →

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