#431C79#431C79

#431C79 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.147 H 296.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#431C79
RGBrgb(67, 28, 121)
HSLhsl(265, 62%, 29%)
HSVhsv(265, 77%, 47%)
CMYKcmyk(44.6%, 76.9%, 0%, 52.5%)
CIE-LABlab(21.59, 39.01, -45.79)
CIE-LCHlch(21.59, 60.15, 310.43°)
OKLaboklab(34.16% 0.0666 -0.131)
OKLCHoklch(34.16% 0.147 296.9)
XYZxyz(6.1803, 3.4042, 18.4169)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C79 #52791C
analogous
#1C2479 #431C79 #721C79
triadic
#431C79 #79431C #1C7943
tetradic
#431C79 #791C24 #52791C #1C7972
square
#431C79 #791C24 #52791C #1C7972
split-complementary
#431C79 #79721C #24791C
monochromatic
#0E0619 #271047 #431C79 #5F28AB #7C3DD2

Accessibility & contrast

On white

12.49
#431C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#431C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431C79
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C79#FFFFFF#000000##FFFFFF
##431C791.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#353449
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431c79;
/* rgb */ color: rgb(67, 28, 121);
/* oklch */ color: oklch(34.2% 0.147 296.9);
Tailwind
colors: {
  custom: {
    50: '#7d5ca1',
    500: '#431c79',
    950: '#000000',
  },
}
SCSS
$custom: #431c79;
$custom-light: #7d5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#431c79",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 265.161,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3416,
    "c": 0.14696,
    "h": 296.9
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#431C79
secondary
#81AD44
accent
#E542A1
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431C79

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

Preview Lab → · Contrast checker → · Palette generator →

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