#431F78#431F78

#431F78 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.142 H 296.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#431F78
RGBrgb(67, 31, 120)
HSLhsl(264, 59%, 30%)
HSVhsv(264, 74%, 47%)
CMYKcmyk(44.2%, 74.2%, 0%, 52.9%)
CIE-LABlab(22.05, 37.20, -44.41)
CIE-LCHlch(22.05, 57.93, 309.95°)
OKLaboklab(34.45% 0.0638 -0.127)
OKLCHoklch(34.45% 0.142 296.7)
XYZxyz(6.1940, 3.5292, 18.1205)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F78 #54781F
analogous
#1F2778 #431F78 #701F78
triadic
#431F78 #78431F #1F7843
tetradic
#431F78 #781F27 #54781F #1F7870
square
#431F78 #781F27 #54781F #1F7870
split-complementary
#431F78 #78701F #27781F
monochromatic
#0E0618 #281247 #431F78 #5E2CA9 #7B43CE

Accessibility & contrast

On white

12.31
#431F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431F78
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F78#FFFFFF#000000##FFFFFF
##431F781.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#353549
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431f78;
/* rgb */ color: rgb(67, 31, 120);
/* oklch */ color: oklch(34.5% 0.142 296.7);
Tailwind
colors: {
  custom: {
    50: '#7d5ea0',
    500: '#431f78',
    950: '#000000',
  },
}
SCSS
$custom: #431f78;
$custom-light: #7d5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#431f78",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 264.27,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34454,
    "c": 0.14211,
    "h": 296.7
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#431F78
secondary
#83AB47
accent
#E246A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431F78

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

Preview Lab → · Contrast checker → · Palette generator →

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