#431E71#431E71

#431E71 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.135 H 299.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#431E71
RGBrgb(67, 30, 113)
HSLhsl(267, 58%, 28%)
HSVhsv(267, 73%, 44%)
CMYKcmyk(40.7%, 73.5%, 0%, 55.7%)
CIE-LABlab(21.26, 35.78, -41.20)
CIE-LCHlch(21.26, 54.57, 310.97°)
OKLaboklab(33.71% 0.0663 -0.1176)
OKLCHoklch(33.71% 0.135 299.4)
XYZxyz(5.7589, 3.3140, 15.9558)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431E71 #4C711E
analogous
#1E2271 #431E71 #6C1E71
triadic
#431E71 #71431E #1E7143
tetradic
#431E71 #711E22 #4C711E #1E716C
square
#431E71 #711E22 #4C711E #1E716C
split-complementary
#431E71 #716C1E #22711E
monochromatic
#0E0618 #261141 #431E71 #602BA1 #7D3ECC

Accessibility & contrast

On white

12.63
#431E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#431E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431E71
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431E71#FFFFFF#000000##FFFFFF
##431E711.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#383245
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431e71;
/* rgb */ color: rgb(67, 30, 113);
/* oklch */ color: oklch(33.7% 0.135 299.4);
Tailwind
colors: {
  custom: {
    50: '#7c5d9a',
    500: '#431e71',
    950: '#000000',
  },
}
SCSS
$custom: #431e71;
$custom-light: #7c5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#431e71",
  "rgb": {
    "r": 67,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 266.747,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33705,
    "c": 0.13495,
    "h": 299.4
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#431E71
secondary
#7BA546
accent
#E1479C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431E71

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

Preview Lab → · Contrast checker → · Palette generator →

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