#431580#431580

#431580 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.162 H 295.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#431580
RGBrgb(67, 21, 128)
HSLhsl(266, 72%, 29%)
HSVhsv(266, 84%, 50%)
CMYKcmyk(47.7%, 83.6%, 0%, 49.8%)
CIE-LABlab(21.16, 44.06, -50.95)
CIE-LCHlch(21.16, 67.36, 310.85°)
OKLaboklab(34.06% 0.0704 -0.1461)
OKLCHoklch(34.06% 0.162 295.7)
XYZxyz(6.4781, 3.2880, 20.7112)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431580 #528015
analogous
#151D80 #431580 #791580
triadic
#431580 #804315 #158043
tetradic
#431580 #80151D #528015 #158079
square
#431580 #80151D #528015 #158079
split-complementary
#431580 #807915 #1D8015
monochromatic
#0E041A #270C4B #431580 #5F1EB5 #7C32DD

Accessibility & contrast

On white

12.67
#431580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#431580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431580
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431580#FFFFFF#000000##FFFFFF
##4315801.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#32344B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431580;
/* rgb */ color: rgb(67, 21, 128);
/* oklch */ color: oklch(34.1% 0.162 295.7);
Tailwind
colors: {
  custom: {
    50: '#7e59a6',
    500: '#431580',
    950: '#000000',
  },
}
SCSS
$custom: #431580;
$custom-light: #7e59a6;
$custom-dark: #000000;
JSON
{
  "hex": "#431580",
  "rgb": {
    "r": 67,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 265.794,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.16217,
    "h": 295.7
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#431580
secondary
#81B53C
accent
#EF39A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #431580

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

Preview Lab → · Contrast checker → · Palette generator →

#431580 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva