#431B79#431B79

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

Color values

HEX#431B79
RGBrgb(67, 27, 121)
HSLhsl(266, 64%, 29%)
HSVhsv(266, 78%, 47%)
CMYKcmyk(44.6%, 77.7%, 0%, 52.5%)
CIE-LABlab(21.42, 39.50, -46.07)
CIE-LCHlch(21.42, 60.69, 310.61°)
OKLaboklab(34.04% 0.0675 -0.1318)
OKLCHoklch(34.04% 0.148 297.1)
XYZxyz(6.1570, 3.3575, 18.4091)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B79 #51791B
analogous
#1B2279 #431B79 #721B79
triadic
#431B79 #79431B #1B7943
tetradic
#431B79 #791B22 #51791B #1B7972
square
#431B79 #791B22 #51791B #1B7972
split-complementary
#431B79 #79721B #22791B
monochromatic
#0E0619 #271047 #431B79 #5F26AB #7C3BD3

Accessibility & contrast

On white

12.56
#431B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#431B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B79
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B79#FFFFFF#000000##FFFFFF
##431B791.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#353449
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431b79;
/* rgb */ color: rgb(67, 27, 121);
/* oklch */ color: oklch(34.0% 0.148 297.1);
Tailwind
colors: {
  custom: {
    50: '#7d5ca1',
    500: '#431b79',
    950: '#000000',
  },
}
SCSS
$custom: #431b79;
$custom-light: #7d5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#431b79",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 265.532,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34039,
    "c": 0.14812,
    "h": 297.1
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#431B79
secondary
#80AD43
accent
#E741A0
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431B79

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

Preview Lab → · Contrast checker → · Palette generator →

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