#431A78#431A78

#431A78 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.148 H 297.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#431A78
RGBrgb(67, 26, 120)
HSLhsl(266, 64%, 29%)
HSVhsv(266, 78%, 47%)
CMYKcmyk(44.2%, 78.3%, 0%, 52.9%)
CIE-LABlab(21.16, 39.71, -45.86)
CIE-LCHlch(21.16, 60.66, 310.89°)
OKLaboklab(33.83% 0.0687 -0.1312)
OKLCHoklch(33.83% 0.148 297.6)
XYZxyz(6.0734, 3.2880, 18.0803)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A78 #4F781A
analogous
#1A2078 #431A78 #721A78
triadic
#431A78 #78431A #1A7843
tetradic
#431A78 #781A20 #4F781A #1A7872
square
#431A78 #781A20 #4F781A #1A7872
split-complementary
#431A78 #78721A #20781A
monochromatic
#0E0519 #270F46 #431A78 #5F25AA #7C38D4

Accessibility & contrast

On white

12.67
#431A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#431A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A78
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A78#FFFFFF#000000##FFFFFF
##431A781.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#353348
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431a78;
/* rgb */ color: rgb(67, 26, 120);
/* oklch */ color: oklch(33.8% 0.148 297.6);
Tailwind
colors: {
  custom: {
    50: '#7d5ba0',
    500: '#431a78',
    950: '#000000',
  },
}
SCSS
$custom: #431a78;
$custom-light: #7d5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#431a78",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 266.17,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33828,
    "c": 0.14812,
    "h": 297.6
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#431A78
secondary
#7EAC41
accent
#E7409F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431A78

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

Preview Lab → · Contrast checker → · Palette generator →

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