#431B82#431B82

#431B82 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.159 H 294.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#431B82
RGBrgb(67, 27, 130)
HSLhsl(263, 66%, 31%)
HSVhsv(263, 79%, 51%)
CMYKcmyk(48.5%, 79.2%, 0%, 49%)
CIE-LABlab(22.26, 41.98, -50.41)
CIE-LCHlch(22.26, 65.60, 309.79°)
OKLaboklab(34.89% 0.065 -0.1446)
OKLCHoklch(34.89% 0.159 294.2)
XYZxyz(6.7348, 3.5887, 21.4526)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B82 #5A821B
analogous
#1B2682 #431B82 #761B82
triadic
#431B82 #82431B #1B8243
tetradic
#431B82 #821B26 #5A821B #1B8276
square
#431B82 #821B26 #5A821B #1B8276
split-complementary
#431B82 #82761B #26821B
monochromatic
#0F061D #29104F #431B82 #5D26B5 #7B40D7

Accessibility & contrast

On white

12.22
#431B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431B82
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B82#FFFFFF#000000##FFFFFF
##431B821.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.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: #431b82;
/* rgb */ color: rgb(67, 27, 130);
/* oklch */ color: oklch(34.9% 0.159 294.2);
Tailwind
colors: {
  custom: {
    50: '#7e5ca7',
    500: '#431b82',
    950: '#000000',
  },
}
SCSS
$custom: #431b82;
$custom-light: #7e5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#431b82",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 263.301,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34886,
    "c": 0.1585,
    "h": 294.2
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#431B82
secondary
#89B643
accent
#E93FA7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431B82

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

Preview Lab → · Contrast checker → · Palette generator →

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