#431B81#431B81

#431B81 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.157 H 294.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#431B81
RGBrgb(67, 27, 129)
HSLhsl(264, 65%, 31%)
HSVhsv(264, 79%, 51%)
CMYKcmyk(48.1%, 79.1%, 0%, 49.4%)
CIE-LABlab(22.17, 41.70, -49.93)
CIE-LCHlch(22.17, 65.06, 309.87°)
OKLaboklab(34.79% 0.0653 -0.1432)
OKLCHoklch(34.79% 0.157 294.5)
XYZxyz(6.6680, 3.5619, 21.1008)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B81 #59811B
analogous
#1B2681 #431B81 #761B81
triadic
#431B81 #81431B #1B8143
tetradic
#431B81 #811B26 #59811B #1B8176
square
#431B81 #811B26 #59811B #1B8176
split-complementary
#431B81 #81761B #26811B
monochromatic
#0E061C #29104E #431B81 #5D26B4 #7B3FD7

Accessibility & contrast

On white

12.26
#431B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431B81
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B81#FFFFFF#000000##FFFFFF
##431B811.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#31374D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431b81;
/* rgb */ color: rgb(67, 27, 129);
/* oklch */ color: oklch(34.8% 0.157 294.5);
Tailwind
colors: {
  custom: {
    50: '#7e5ca6',
    500: '#431b81',
    950: '#000000',
  },
}
SCSS
$custom: #431b81;
$custom-light: #7e5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#431b81",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 263.529,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3479,
    "c": 0.15736,
    "h": 294.5
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#431B81
secondary
#88B543
accent
#E83FA6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #431B81

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

Preview Lab → · Contrast checker → · Palette generator →

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