#431671#431671

#431671 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.145 H 300.9°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#431671
RGBrgb(67, 22, 113)
HSLhsl(270, 67%, 26%)
HSVhsv(270, 81%, 44%)
CMYKcmyk(40.7%, 80.5%, 0%, 55.7%)
CIE-LABlab(19.88, 39.69, -43.45)
CIE-LCHlch(19.88, 58.85, 312.41°)
OKLaboklab(32.73% 0.0744 -0.1241)
OKLCHoklch(32.73% 0.145 300.9)
XYZxyz(5.5815, 2.9593, 15.8967)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431671 #447116
analogous
#161771 #431671 #711671
triadic
#431671 #714316 #167143
tetradic
#431671 #711617 #447116 #167171
square
#431671 #711617 #447116 #167171
split-complementary
#431671 #717116 #177116
monochromatic
#0F051A #250C3E #431671 #6120A4 #802CD6

Accessibility & contrast

On white

13.19
#431671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#431671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431671
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431671#FFFFFF#000000##FFFFFF
##4316711.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#392E43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #431671;
/* rgb */ color: rgb(67, 22, 113);
/* oklch */ color: oklch(32.7% 0.145 300.9);
Tailwind
colors: {
  custom: {
    50: '#7c599b',
    500: '#431671',
    950: '#000000',
  },
}
SCSS
$custom: #431671;
$custom-light: #7c599b;
$custom-dark: #000000;
JSON
{
  "hex": "#431671",
  "rgb": {
    "r": 67,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 269.67,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32731,
    "c": 0.14468,
    "h": 300.9
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#431671
secondary
#72A73C
accent
#EA3E95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431671

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

Preview Lab → · Contrast checker → · Palette generator →

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