#431E97#431E97

#431E97 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.180 H 288.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#431E97
RGBrgb(67, 30, 151)
HSLhsl(258, 67%, 35%)
HSVhsv(258, 80%, 59%)
CMYKcmyk(55.6%, 80.1%, 0%, 40.8%)
CIE-LABlab(24.81, 46.47, -59.30)
CIE-LCHlch(24.81, 75.33, 308.08°)
OKLaboklab(37.29% 0.0561 -0.1706)
OKLCHoklch(37.29% 0.18 288.2)
XYZxyz(8.3633, 4.3558, 29.6722)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431E97 #72971E
analogous
#1E3597 #431E97 #7F1E97
triadic
#431E97 #97431E #1E9743
tetradic
#431E97 #971E35 #72971E #1E977F
square
#431E97 #971E35 #72971E #1E977F
split-complementary
#431E97 #977F1E #35971E
monochromatic
#160A31 #2C1464 #431E97 #5A28CA #7D53DD

Accessibility & contrast

On white

11.22
#431E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#431E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431E97
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431E97#FFFFFF#000000##FFFFFF
##431E971.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#20415A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #431e97;
/* rgb */ color: rgb(67, 30, 151);
/* oklch */ color: oklch(37.3% 0.180 288.2);
Tailwind
colors: {
  custom: {
    50: '#815fb7',
    500: '#431e97',
    950: '#000000',
  },
}
SCSS
$custom: #431e97;
$custom-light: #815fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#431e97",
  "rgb": {
    "r": 67,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 258.347,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.17962,
    "h": 288.2
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#431E97
secondary
#9EC051
accent
#EA3EB5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #431E97

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

Preview Lab → · Contrast checker → · Palette generator →

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