#431F99#431F99

#431F99 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.181 H 287.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#431F99
RGBrgb(67, 31, 153)
HSLhsl(258, 66%, 36%)
HSVhsv(258, 80%, 60%)
CMYKcmyk(56.2%, 79.7%, 0%, 40%)
CIE-LABlab(25.18, 46.57, -59.93)
CIE-LCHlch(25.18, 75.90, 307.85°)
OKLaboklab(37.61% 0.0548 -0.1725)
OKLCHoklch(37.61% 0.181 287.6)
XYZxyz(8.5528, 4.4727, 30.5435)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F99 #75991F
analogous
#1F3899 #431F99 #801F99
triadic
#431F99 #99431F #1F9943
tetradic
#431F99 #991F38 #75991F #1F9980
square
#431F99 #991F38 #75991F #1F9980
split-complementary
#431F99 #99801F #38991F
monochromatic
#160A33 #2D1566 #431F99 #5929CC #7E56DD

Accessibility & contrast

On white

11.08
#431F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#431F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F99
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F99#FFFFFF#000000##FFFFFF
##431F991.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#1D435C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #431f99;
/* rgb */ color: rgb(67, 31, 153);
/* oklch */ color: oklch(37.6% 0.181 287.6);
Tailwind
colors: {
  custom: {
    50: '#8260b8',
    500: '#431f99',
    950: '#000000',
  },
}
SCSS
$custom: #431f99;
$custom-light: #8260b8;
$custom-dark: #000000;
JSON
{
  "hex": "#431f99",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 257.705,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37606,
    "c": 0.18098,
    "h": 287.6
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#431F99
secondary
#A0C054
accent
#E93FB7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #431F99

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

Preview Lab → · Contrast checker → · Palette generator →

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