#431D78#431D78

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

Color values

HEX#431D78
RGBrgb(67, 29, 120)
HSLhsl(265, 61%, 29%)
HSVhsv(265, 76%, 47%)
CMYKcmyk(44.2%, 75.8%, 0%, 52.9%)
CIE-LABlab(21.68, 38.24, -45.01)
CIE-LCHlch(21.68, 59.06, 310.35°)
OKLaboklab(34.19% 0.0658 -0.1287)
OKLCHoklch(34.19% 0.145 297.1)
XYZxyz(6.1434, 3.4280, 18.1036)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431D78 #52781D
analogous
#1D2578 #431D78 #711D78
triadic
#431D78 #78431D #1D7843
tetradic
#431D78 #781D25 #52781D #1D7871
square
#431D78 #781D25 #52781D #1D7871
split-complementary
#431D78 #78711D #25781D
monochromatic
#0E0619 #271147 #431D78 #5F29A9 #7C3FD1

Accessibility & contrast

On white

12.46
#431D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#431D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431D78
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431D78#FFFFFF#000000##FFFFFF
##431D781.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431d78;
/* rgb */ color: rgb(67, 29, 120);
/* oklch */ color: oklch(34.2% 0.145 297.1);
Tailwind
colors: {
  custom: {
    50: '#7d5da0',
    500: '#431d78',
    950: '#000000',
  },
}
SCSS
$custom: #431d78;
$custom-light: #7d5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#431d78",
  "rgb": {
    "r": 67,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 265.055,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34194,
    "c": 0.14459,
    "h": 297.1
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#431D78
secondary
#81AC45
accent
#E444A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431D78

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

Preview Lab → · Contrast checker → · Palette generator →

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