#431D97#431D97

#431D97 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.181 H 288.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#431D97
RGBrgb(67, 29, 151)
HSLhsl(259, 68%, 35%)
HSVhsv(259, 81%, 59%)
CMYKcmyk(55.6%, 80.8%, 0%, 40.8%)
CIE-LABlab(24.66, 46.92, -59.55)
CIE-LCHlch(24.66, 75.82, 308.23°)
OKLaboklab(37.19% 0.0568 -0.1714)
OKLCHoklch(37.19% 0.181 288.3)
XYZxyz(8.3384, 4.3060, 29.6639)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431D97 #71971D
analogous
#1D3497 #431D97 #801D97
triadic
#431D97 #97431D #1D9743
tetradic
#431D97 #971D34 #71971D #1D9780
square
#431D97 #971D34 #71971D #1D9780
split-complementary
#431D97 #97801D #34971D
monochromatic
#150930 #2C1364 #431D97 #5A27CA #7D51DE

Accessibility & contrast

On white

11.28
#431D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#431D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431D97
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431D97#FFFFFF#000000##FFFFFF
##431D971.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431d97;
/* rgb */ color: rgb(67, 29, 151);
/* oklch */ color: oklch(37.2% 0.181 288.3);
Tailwind
colors: {
  custom: {
    50: '#815fb7',
    500: '#431d97',
    950: '#000000',
  },
}
SCSS
$custom: #431d97;
$custom-light: #815fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#431d97",
  "rgb": {
    "r": 67,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 258.689,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37185,
    "c": 0.18054,
    "h": 288.3
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#431D97
secondary
#9DC04F
accent
#EB3DB5
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #431D97

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

Preview Lab → · Contrast checker → · Palette generator →

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