#431C71#431C71

#431C71 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.138 H 299.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#431C71
RGBrgb(67, 28, 113)
HSLhsl(268, 60%, 28%)
HSVhsv(268, 75%, 44%)
CMYKcmyk(40.7%, 75.2%, 0%, 55.7%)
CIE-LABlab(20.89, 36.82, -41.80)
CIE-LCHlch(20.89, 55.71, 311.37°)
OKLaboklab(33.44% 0.0684 -0.1193)
OKLCHoklch(33.44% 0.138 299.8)
XYZxyz(5.7099, 3.2160, 15.9395)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C71 #4A711C
analogous
#1C2071 #431C71 #6D1C71
triadic
#431C71 #71431C #1C7143
tetradic
#431C71 #711C20 #4A711C #1C716D
square
#431C71 #711C20 #4A711C #1C716D
split-complementary
#431C71 #716D1C #20711C
monochromatic
#0F0619 #261040 #431C71 #6028A2 #7E39CE

Accessibility & contrast

On white

12.78
#431C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#431C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431C71
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C71#FFFFFF#000000##FFFFFF
##431C711.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#383144
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431c71;
/* rgb */ color: rgb(67, 28, 113);
/* oklch */ color: oklch(33.4% 0.138 299.8);
Tailwind
colors: {
  custom: {
    50: '#7c5c9a',
    500: '#431c71',
    950: '#000000',
  },
}
SCSS
$custom: #431c71;
$custom-light: #7c5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#431c71",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 267.529,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33442,
    "c": 0.13754,
    "h": 299.8
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#431C71
secondary
#78A643
accent
#E3449A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431C71

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

Preview Lab → · Contrast checker → · Palette generator →

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