#431871#431871

#431871 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.142 H 300.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#431871
RGBrgb(67, 24, 113)
HSLhsl(269, 65%, 27%)
HSVhsv(269, 79%, 44%)
CMYKcmyk(40.7%, 78.8%, 0%, 55.7%)
CIE-LABlab(20.20, 38.78, -42.93)
CIE-LCHlch(20.20, 57.85, 312.09°)
OKLaboklab(32.95% 0.0725 -0.1226)
OKLCHoklch(32.95% 0.142 300.6)
XYZxyz(5.6213, 3.0388, 15.9100)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431871 #467118
analogous
#181971 #431871 #701871
triadic
#431871 #714318 #187143
tetradic
#431871 #711819 #467118 #187170
square
#431871 #711819 #467118 #187170
split-complementary
#431871 #717018 #197118
monochromatic
#0F0519 #250D3F #431871 #6123A3 #7F30D3

Accessibility & contrast

On white

13.06
#431871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#431871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431871
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431871#FFFFFF#000000##FFFFFF
##4318711.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431871;
/* rgb */ color: rgb(67, 24, 113);
/* oklch */ color: oklch(33.0% 0.142 300.6);
Tailwind
colors: {
  custom: {
    50: '#7c5a9b',
    500: '#431871',
    950: '#000000',
  },
}
SCSS
$custom: #431871;
$custom-light: #7c5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431871",
  "rgb": {
    "r": 67,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 268.989,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32954,
    "c": 0.14242,
    "h": 300.6
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#431871
secondary
#74A63E
accent
#E84097
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431871

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

Preview Lab → · Contrast checker → · Palette generator →

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