#431F79#431F79

#431F79 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.143 H 296.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#431F79
RGBrgb(67, 31, 121)
HSLhsl(264, 59%, 30%)
HSVhsv(264, 74%, 47%)
CMYKcmyk(44.6%, 74.4%, 0%, 52.5%)
CIE-LABlab(22.14, 37.48, -44.90)
CIE-LCHlch(22.14, 58.49, 309.85°)
OKLaboklab(34.54% 0.0636 -0.1284)
OKLCHoklch(34.54% 0.143 296.3)
XYZxyz(6.2550, 3.5536, 18.4418)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F79 #55791F
analogous
#1F2879 #431F79 #701F79
triadic
#431F79 #79431F #1F7943
tetradic
#431F79 #791F28 #55791F #1F7970
square
#431F79 #791F28 #55791F #1F7970
split-complementary
#431F79 #79701F #28791F
monochromatic
#0D0618 #281348 #431F79 #5E2BAA #7B43CF

Accessibility & contrast

On white

12.27
#431F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#431F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F79
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F79#FFFFFF#000000##FFFFFF
##431F791.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#35364A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431f79;
/* rgb */ color: rgb(67, 31, 121);
/* oklch */ color: oklch(34.5% 0.143 296.3);
Tailwind
colors: {
  custom: {
    50: '#7d5ea0',
    500: '#431f79',
    950: '#000000',
  },
}
SCSS
$custom: #431f79;
$custom-light: #7d5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#431f79",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 264,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34544,
    "c": 0.14331,
    "h": 296.3
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#431F79
secondary
#84AC47
accent
#E245A4
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431F79

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

Preview Lab → · Contrast checker → · Palette generator →

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