#431F97#431F97

#431F97 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.179 H 288.1°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#431F97
RGBrgb(67, 31, 151)
HSLhsl(258, 66%, 36%)
HSVhsv(258, 79%, 59%)
CMYKcmyk(55.6%, 79.5%, 0%, 40.8%)
CIE-LABlab(24.97, 46.00, -59.03)
CIE-LCHlch(24.97, 74.84, 307.93°)
OKLaboklab(37.4% 0.0554 -0.1699)
OKLCHoklch(37.4% 0.179 288.1)
XYZxyz(8.3890, 4.4072, 29.6808)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F97 #73971F
analogous
#1F3797 #431F97 #7F1F97
triadic
#431F97 #97431F #1F9743
tetradic
#431F97 #971F37 #73971F #1F977F
square
#431F97 #971F37 #73971F #1F977F
split-complementary
#431F97 #977F1F #37971F
monochromatic
#160A31 #2C1564 #431F97 #5A29CA #7D54DC

Accessibility & contrast

On white

11.16
#431F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#431F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F97
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F97#FFFFFF#000000##FFFFFF
##431F971.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#20425B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #431f97;
/* rgb */ color: rgb(67, 31, 151);
/* oklch */ color: oklch(37.4% 0.179 288.1);
Tailwind
colors: {
  custom: {
    50: '#8160b7',
    500: '#431f97',
    950: '#000000',
  },
}
SCSS
$custom: #431f97;
$custom-light: #8160b7;
$custom-dark: #000000;
JSON
{
  "hex": "#431f97",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 258,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37404,
    "c": 0.17868,
    "h": 288.1
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#431F97
secondary
#9FBF52
accent
#E93FB6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #431F97

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

Preview Lab → · Contrast checker → · Palette generator →

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