#431F96#431F96

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

Color values

HEX#431F96
RGBrgb(67, 31, 150)
HSLhsl(258, 66%, 35%)
HSVhsv(258, 79%, 59%)
CMYKcmyk(55.3%, 79.3%, 0%, 41.2%)
CIE-LABlab(24.87, 45.72, -58.58)
CIE-LCHlch(24.87, 74.31, 307.97°)
OKLaboklab(37.3% 0.0558 -0.1685)
OKLCHoklch(37.3% 0.178 288.3)
XYZxyz(8.3081, 4.3749, 29.2549)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F96 #72961F
analogous
#1F3796 #431F96 #7E1F96
triadic
#431F96 #96431F #1F9643
tetradic
#431F96 #961F37 #72961F #1F967E
square
#431F96 #961F37 #72961F #1F967E
split-complementary
#431F96 #967E1F #37961F
monochromatic
#160A31 #2C1563 #431F96 #5A29C9 #7D54DC

Accessibility & contrast

On white

11.20
#431F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431F96
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F96#FFFFFF#000000##FFFFFF
##431F961.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#21415A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #431f96;
/* rgb */ color: rgb(67, 31, 150);
/* oklch */ color: oklch(37.3% 0.178 288.3);
Tailwind
colors: {
  custom: {
    50: '#8160b6',
    500: '#431f96',
    950: '#000000',
  },
}
SCSS
$custom: #431f96;
$custom-light: #8160b6;
$custom-dark: #000000;
JSON
{
  "hex": "#431f96",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 258.151,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.17753,
    "h": 288.3
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#431F96
secondary
#9EBF52
accent
#E93FB5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #431F96

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

Preview Lab → · Contrast checker → · Palette generator →

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