#431780#431780

#431780 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.160 H 295.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#431780
RGBrgb(67, 23, 128)
HSLhsl(265, 70%, 30%)
HSVhsv(265, 82%, 50%)
CMYKcmyk(47.7%, 82%, 0%, 49.8%)
CIE-LABlab(21.45, 43.23, -50.48)
CIE-LCHlch(21.45, 66.46, 310.57°)
OKLaboklab(34.26% 0.0689 -0.1447)
OKLCHoklch(34.26% 0.16 295.4)
XYZxyz(6.5164, 3.3644, 20.7240)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431780 #548017
analogous
#172080 #431780 #781780
triadic
#431780 #804317 #178043
tetradic
#431780 #801720 #548017 #178078
square
#431780 #801720 #548017 #178078
split-complementary
#431780 #807817 #208017
monochromatic
#0E051A #280E4C #431780 #5E20B4 #7B36DB

Accessibility & contrast

On white

12.55
#431780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#431780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431780
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431780#FFFFFF#000000##FFFFFF
##4317801.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#31354C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431780;
/* rgb */ color: rgb(67, 23, 128);
/* oklch */ color: oklch(34.3% 0.160 295.4);
Tailwind
colors: {
  custom: {
    50: '#7e5aa6',
    500: '#431780',
    950: '#000000',
  },
}
SCSS
$custom: #431780;
$custom-light: #7e5aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#431780",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 265.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34259,
    "c": 0.1603,
    "h": 295.4
  },
  "luminance": 0.03365
}

Semantic roles & 50–950 ramp

primary
#431780
secondary
#83B43E
accent
#EC3BA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #431780

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

Preview Lab → · Contrast checker → · Palette generator →

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