#431987#431987

#431987 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.166 H 293.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#431987
RGBrgb(67, 25, 135)
HSLhsl(263, 69%, 31%)
HSVhsv(263, 81%, 53%)
CMYKcmyk(50.4%, 81.5%, 0%, 47.1%)
CIE-LABlab(22.44, 44.26, -53.27)
CIE-LCHlch(22.44, 69.26, 309.72°)
OKLaboklab(35.15% 0.065 -0.1529)
OKLCHoklch(35.15% 0.166 293)
XYZxyz(7.0343, 3.6376, 23.2485)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431987 #5D8719
analogous
#192687 #431987 #7A1987
triadic
#431987 #874319 #198743
tetradic
#431987 #871926 #5D8719 #19877A
square
#431987 #871926 #5D8719 #19877A
split-complementary
#431987 #877A19 #268719
monochromatic
#100620 #290F53 #431987 #5D23BB #7B3FDB

Accessibility & contrast

On white

12.16
#431987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#431987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431987
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431987#FFFFFF#000000##FFFFFF
##4319871.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#2D3950
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431987;
/* rgb */ color: rgb(67, 25, 135);
/* oklch */ color: oklch(35.2% 0.166 293.0);
Tailwind
colors: {
  custom: {
    50: '#7f5cab',
    500: '#431987',
    950: '#000000',
  },
}
SCSS
$custom: #431987;
$custom-light: #7f5cab;
$custom-dark: #000000;
JSON
{
  "hex": "#431987",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 262.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35155,
    "c": 0.16618,
    "h": 293
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#431987
secondary
#8CBA41
accent
#EC3CA9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431987

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

Preview Lab → · Contrast checker → · Palette generator →

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