#431F8F#431F8F

#431F8F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.169 H 290.0°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#431F8F
RGBrgb(67, 31, 143)
HSLhsl(259, 64%, 34%)
HSVhsv(259, 78%, 56%)
CMYKcmyk(53.1%, 78.3%, 0%, 43.9%)
CIE-LABlab(24.18, 43.73, -55.40)
CIE-LCHlch(24.18, 70.57, 308.29°)
OKLaboklab(36.61% 0.0579 -0.1592)
OKLCHoklch(36.61% 0.169 290)
XYZxyz(7.7612, 4.1561, 26.3745)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F8F #6B8F1F
analogous
#1F338F #431F8F #7B1F8F
triadic
#431F8F #8F431F #1F8F43
tetradic
#431F8F #8F1F33 #6B8F1F #1F8F7B
square
#431F8F #8F1F33 #6B8F1F #1F8F7B
split-complementary
#431F8F #8F7B1F #338F1F
monochromatic
#14092A #2B145D #431F8F #5B2AC1 #7C4FD9

Accessibility & contrast

On white

11.47
#431F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#431F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F8F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F8F#FFFFFF#000000##FFFFFF
##431F8F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#273E56
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #431f8f;
/* rgb */ color: rgb(67, 31, 143);
/* oklch */ color: oklch(36.6% 0.169 290.0);
Tailwind
colors: {
  custom: {
    50: '#805fb1',
    500: '#431f8f',
    950: '#000000',
  },
}
SCSS
$custom: #431f8f;
$custom-light: #805fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#431f8f",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 259.286,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36611,
    "c": 0.16941,
    "h": 290
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#431F8F
secondary
#99BC4E
accent
#E740B2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #431F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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