#431A77#431A77

#431A77 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.147 H 298.0°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#431A77
RGBrgb(67, 26, 119)
HSLhsl(266, 64%, 28%)
HSVhsv(266, 78%, 47%)
CMYKcmyk(43.7%, 78.2%, 0%, 53.3%)
CIE-LABlab(21.07, 39.44, -45.36)
CIE-LCHlch(21.07, 60.11, 311.00°)
OKLaboklab(33.74% 0.069 -0.1298)
OKLCHoklch(33.74% 0.147 298)
XYZxyz(6.0130, 3.2639, 17.7624)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A77 #4E771A
analogous
#1A1F77 #431A77 #711A77
triadic
#431A77 #77431A #1A7743
tetradic
#431A77 #771A1F #4E771A #1A7771
square
#431A77 #771A1F #4E771A #1A7771
split-complementary
#431A77 #77711A #1F771A
monochromatic
#0E0519 #270F45 #431A77 #5F25A9 #7C38D3

Accessibility & contrast

On white

12.71
#431A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#431A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A77
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A77#FFFFFF#000000##FFFFFF
##431A771.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#363247
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431a77;
/* rgb */ color: rgb(67, 26, 119);
/* oklch */ color: oklch(33.7% 0.147 298.0);
Tailwind
colors: {
  custom: {
    50: '#7d5b9f',
    500: '#431a77',
    950: '#000000',
  },
}
SCSS
$custom: #431a77;
$custom-light: #7d5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#431a77",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 266.452,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33735,
    "c": 0.14697,
    "h": 298
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#431A77
secondary
#7DAC41
accent
#E7419E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431A77

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

Preview Lab → · Contrast checker → · Palette generator →

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