#431157#431157

#431157 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 29.9% C 0.122 H 314.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#431157
RGBrgb(67, 17, 87)
HSLhsl(283, 67%, 20%)
HSVhsv(283, 80%, 34%)
CMYKcmyk(23%, 80.5%, 0%, 65.9%)
CIE-LABlab(16.91, 35.43, -31.13)
CIE-LCHlch(16.91, 47.16, 318.69°)
OKLaboklab(29.94% 0.0853 -0.0879)
OKLCHoklch(29.94% 0.123 314.2)
XYZxyz(4.2352, 2.2825, 9.2324)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431157 #255711
analogous
#201157 #431157 #571148
triadic
#431157 #574311 #115743
tetradic
#431157 #572011 #255711 #114857
square
#431157 #572011 #255711 #114857
split-complementary
#431157 #485711 #115720
monochromatic
#14051A #1C0724 #431157 #6A1B8A #9225BD

Accessibility & contrast

On white

14.42
#431157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#431157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431157
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431157#FFFFFF#000000##FFFFFF
##4311571.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#0C2B55
Tritanopia (blue-blind)
#412133
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #431157;
/* rgb */ color: rgb(67, 17, 87);
/* oklch */ color: oklch(29.9% 0.122 314.2);
Tailwind
colors: {
  custom: {
    50: '#7a5587',
    500: '#431157',
    950: '#000000',
  },
}
SCSS
$custom: #431157;
$custom-light: #7a5587;
$custom-dark: #000000;
JSON
{
  "hex": "#431157",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 282.857,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29944,
    "c": 0.1225,
    "h": 314.2
  },
  "luminance": 0.02282
}

Semantic roles & 50–950 ramp

primary
#431157
secondary
#4E9034
accent
#EA3E6F
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #431157

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

Preview Lab → · Contrast checker → · Palette generator →

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