#431B83#431B83

#431B83 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.160 H 293.9°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#431B83
RGBrgb(67, 27, 131)
HSLhsl(263, 66%, 31%)
HSVhsv(263, 79%, 51%)
CMYKcmyk(48.9%, 79.4%, 0%, 48.6%)
CIE-LABlab(22.36, 42.26, -50.88)
CIE-LCHlch(22.36, 66.14, 309.71°)
OKLaboklab(34.98% 0.0647 -0.146)
OKLCHoklch(34.98% 0.16 293.9)
XYZxyz(6.8023, 3.6156, 21.8078)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B83 #5B831B
analogous
#1B2783 #431B83 #771B83
triadic
#431B83 #83431B #1B8343
tetradic
#431B83 #831B27 #5B831B #1B8377
square
#431B83 #831B27 #5B831B #1B8377
split-complementary
#431B83 #83771B #27831B
monochromatic
#0F061E #291150 #431B83 #5D25B6 #7B41D8

Accessibility & contrast

On white

12.19
#431B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#431B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B83
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B83#FFFFFF#000000##FFFFFF
##431B831.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#30384E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431b83;
/* rgb */ color: rgb(67, 27, 131);
/* oklch */ color: oklch(35.0% 0.160 293.9);
Tailwind
colors: {
  custom: {
    50: '#7e5ca8',
    500: '#431b83',
    950: '#000000',
  },
}
SCSS
$custom: #431b83;
$custom-light: #7e5ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#431b83",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 263.077,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34982,
    "c": 0.15965,
    "h": 293.9
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#431B83
secondary
#8AB643
accent
#E93FA7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431B83

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

Preview Lab → · Contrast checker → · Palette generator →

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