#431771#431771

#431771 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.144 H 300.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#431771
RGBrgb(67, 23, 113)
HSLhsl(269, 66%, 27%)
HSVhsv(269, 80%, 44%)
CMYKcmyk(40.7%, 79.6%, 0%, 55.7%)
CIE-LABlab(20.04, 39.24, -43.19)
CIE-LCHlch(20.04, 58.36, 312.25°)
OKLaboklab(32.84% 0.0734 -0.1234)
OKLCHoklch(32.84% 0.144 300.8)
XYZxyz(5.6010, 2.9983, 15.9032)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431771 #457117
analogous
#171871 #431771 #701771
triadic
#431771 #714317 #177143
tetradic
#431771 #711718 #457117 #177170
square
#431771 #711718 #457117 #177170
split-complementary
#431771 #717017 #187117
monochromatic
#0F0519 #250D3E #431771 #6121A4 #7F2ED4

Accessibility & contrast

On white

13.13
#431771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#431771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431771
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431771#FFFFFF#000000##FFFFFF
##4317711.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#392F43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #431771;
/* rgb */ color: rgb(67, 23, 113);
/* oklch */ color: oklch(32.8% 0.144 300.8);
Tailwind
colors: {
  custom: {
    50: '#7c599b',
    500: '#431771',
    950: '#000000',
  },
}
SCSS
$custom: #431771;
$custom-light: #7c599b;
$custom-dark: #000000;
JSON
{
  "hex": "#431771",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 269.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32841,
    "c": 0.14357,
    "h": 300.8
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#431771
secondary
#73A73D
accent
#E93F96
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431771

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

Preview Lab → · Contrast checker → · Palette generator →

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