#431A56#431A56

#431A56 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.109 H 313.3°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#431A56
RGBrgb(67, 26, 86)
HSLhsl(281, 54%, 22%)
HSVhsv(281, 70%, 34%)
CMYKcmyk(22.1%, 69.8%, 0%, 66.3%)
CIE-LABlab(18.38, 30.83, -28.08)
CIE-LCHlch(18.38, 41.70, 317.67°)
OKLaboklab(30.98% 0.0745 -0.079)
OKLCHoklch(30.98% 0.109 313.3)
XYZxyz(4.3636, 2.6041, 9.0751)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A56 #2D561A
analogous
#251A56 #431A56 #561A4B
triadic
#431A56 #56431A #1A5643
tetradic
#431A56 #56251A #2D561A #1A4B56
square
#431A56 #56251A #2D561A #1A4B56
split-complementary
#431A56 #4B561A #1A5625
monochromatic
#120717 #1E0C27 #431A56 #682885 #8C36B4

Accessibility & contrast

On white

13.81
#431A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#431A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A56
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A56#FFFFFF#000000##FFFFFF
##431A561.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012B58
Deuteranopia (green-blind)
#172E55
Tritanopia (blue-blind)
#412635
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #431a56;
/* rgb */ color: rgb(67, 26, 86);
/* oklch */ color: oklch(31.0% 0.109 313.3);
Tailwind
colors: {
  custom: {
    50: '#795a86',
    500: '#431a56',
    950: '#000000',
  },
}
SCSS
$custom: #431a56;
$custom-light: #795a86;
$custom-dark: #000000;
JSON
{
  "hex": "#431a56",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 281,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30977,
    "c": 0.10859,
    "h": 313.3
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#431A56
secondary
#588C40
accent
#DD4B79
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #431A56

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

Preview Lab → · Contrast checker → · Palette generator →

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