#431A82#431A82

#431A82 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.160 H 294.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#431A82
RGBrgb(67, 26, 130)
HSLhsl(264, 67%, 31%)
HSVhsv(264, 80%, 51%)
CMYKcmyk(48.5%, 80%, 0%, 49%)
CIE-LABlab(22.10, 42.44, -50.67)
CIE-LCHlch(22.10, 66.10, 309.95°)
OKLaboklab(34.77% 0.0658 -0.1453)
OKLCHoklch(34.77% 0.16 294.4)
XYZxyz(6.7123, 3.5436, 21.4451)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A82 #59821A
analogous
#1A2582 #431A82 #771A82
triadic
#431A82 #82431A #1A8243
tetradic
#431A82 #821A25 #59821A #1A8277
square
#431A82 #821A25 #59821A #1A8277
split-complementary
#431A82 #82771A #25821A
monochromatic
#0E061C #29104F #431A82 #5D24B5 #7B3ED8

Accessibility & contrast

On white

12.29
#431A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431A82
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A82#FFFFFF#000000##FFFFFF
##431A821.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#30374E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431a82;
/* rgb */ color: rgb(67, 26, 130);
/* oklch */ color: oklch(34.8% 0.160 294.4);
Tailwind
colors: {
  custom: {
    50: '#7e5ca7',
    500: '#431a82',
    950: '#000000',
  },
}
SCSS
$custom: #431a82;
$custom-light: #7e5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#431a82",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 263.654,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34773,
    "c": 0.15955,
    "h": 294.4
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#431A82
secondary
#88B642
accent
#EA3EA6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431A82

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

Preview Lab → · Contrast checker → · Palette generator →

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