#431F8B#431F8B

#431F8B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.165 H 291.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#431F8B
RGBrgb(67, 31, 139)
HSLhsl(260, 64%, 33%)
HSVhsv(260, 78%, 55%)
CMYKcmyk(51.8%, 77.7%, 0%, 45.5%)
CIE-LABlab(23.79, 42.59, -53.54)
CIE-LCHlch(23.79, 68.42, 308.50°)
OKLaboklab(36.22% 0.059 -0.1538)
OKLCHoklch(36.22% 0.165 291)
XYZxyz(7.4636, 4.0370, 24.8071)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F8B #678B1F
analogous
#1F318B #431F8B #791F8B
triadic
#431F8B #8B431F #1F8B43
tetradic
#431F8B #8B1F31 #678B1F #1F8B79
square
#431F8B #8B1F31 #678B1F #1F8B79
split-complementary
#431F8B #8B791F #318B1F
monochromatic
#130927 #2B1459 #431F8B #5B2ABD #7B4DD7

Accessibility & contrast

On white

11.62
#431F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#431F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F8B
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F8B#FFFFFF#000000##FFFFFF
##431F8B1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#2A3D54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #431f8b;
/* rgb */ color: rgb(67, 31, 139);
/* oklch */ color: oklch(36.2% 0.165 291.0);
Tailwind
colors: {
  custom: {
    50: '#7f5fae',
    500: '#431f8b',
    950: '#000000',
  },
}
SCSS
$custom: #431f8b;
$custom-light: #7f5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#431f8b",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 260,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36221,
    "c": 0.16473,
    "h": 291
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#431F8B
secondary
#95BA4C
accent
#E741AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #431F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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