#431687#431687

#431687 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.169 H 293.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#431687
RGBrgb(67, 22, 135)
HSLhsl(264, 72%, 31%)
HSVhsv(264, 84%, 53%)
CMYKcmyk(50.4%, 83.7%, 0%, 47.1%)
CIE-LABlab(22.00, 45.52, -53.98)
CIE-LCHlch(22.00, 70.61, 310.14°)
OKLaboklab(34.86% 0.0672 -0.155)
OKLCHoklch(34.86% 0.169 293.4)
XYZxyz(6.9736, 3.5161, 23.2282)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431687 #5A8716
analogous
#162187 #431687 #7B1687
triadic
#431687 #874316 #168743
tetradic
#431687 #871621 #5A8716 #16877B
square
#431687 #871621 #5A8716 #16877B
split-complementary
#431687 #877B16 #218716
monochromatic
#0F051E #290D52 #431687 #5D1FBC #7B39DF

Accessibility & contrast

On white

12.33
#431687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#431687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431687
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431687#FFFFFF#000000##FFFFFF
##4316871.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#2D3750
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431687;
/* rgb */ color: rgb(67, 22, 135);
/* oklch */ color: oklch(34.9% 0.169 293.4);
Tailwind
colors: {
  custom: {
    50: '#7f5aab',
    500: '#431687',
    950: '#000000',
  },
}
SCSS
$custom: #431687;
$custom-light: #7f5aab;
$custom-dark: #000000;
JSON
{
  "hex": "#431687",
  "rgb": {
    "r": 67,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 263.894,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34855,
    "c": 0.16892,
    "h": 293.4
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#431687
secondary
#89BB3E
accent
#EF39A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431687

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

Preview Lab → · Contrast checker → · Palette generator →

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