#431C78#431C78

#431C78 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.146 H 297.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#431C78
RGBrgb(67, 28, 120)
HSLhsl(265, 62%, 29%)
HSVhsv(265, 77%, 47%)
CMYKcmyk(44.2%, 76.7%, 0%, 52.9%)
CIE-LABlab(21.50, 38.74, -45.30)
CIE-LCHlch(21.50, 59.60, 310.54°)
OKLaboklab(34.07% 0.0668 -0.1296)
OKLCHoklch(34.07% 0.146 297.3)
XYZxyz(6.1193, 3.3797, 18.0956)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C78 #51781C
analogous
#1C2378 #431C78 #711C78
triadic
#431C78 #78431C #1C7843
tetradic
#431C78 #781C23 #51781C #1C7871
square
#431C78 #781C23 #51781C #1C7871
split-complementary
#431C78 #78711C #23781C
monochromatic
#0E0619 #271046 #431C78 #5F28AA #7C3DD2

Accessibility & contrast

On white

12.53
#431C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431C78
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C78#FFFFFF#000000##FFFFFF
##431C781.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#353448
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431c78;
/* rgb */ color: rgb(67, 28, 120);
/* oklch */ color: oklch(34.1% 0.146 297.3);
Tailwind
colors: {
  custom: {
    50: '#7d5ca0',
    500: '#431c78',
    950: '#000000',
  },
}
SCSS
$custom: #431c78;
$custom-light: #7d5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#431c78",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 265.435,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34069,
    "c": 0.14579,
    "h": 297.3
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#431C78
secondary
#80AC44
accent
#E543A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431C78

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

Preview Lab → · Contrast checker → · Palette generator →

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