#431B71#431B71

#431B71 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.139 H 300.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#431B71
RGBrgb(67, 27, 113)
HSLhsl(268, 61%, 27%)
HSVhsv(268, 76%, 44%)
CMYKcmyk(40.7%, 76.1%, 0%, 55.7%)
CIE-LABlab(20.71, 37.33, -42.10)
CIE-LCHlch(20.71, 56.26, 311.56°)
OKLaboklab(33.32% 0.0695 -0.1202)
OKLCHoklch(33.32% 0.139 300)
XYZxyz(5.6866, 3.1694, 15.9317)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B71 #49711B
analogous
#1B1E71 #431B71 #6E1B71
triadic
#431B71 #71431B #1B7143
tetradic
#431B71 #711B1E #49711B #1B716E
square
#431B71 #711B1E #49711B #1B716E
split-complementary
#431B71 #716E1B #1E711B
monochromatic
#0F0619 #260F40 #431B71 #6027A2 #7E37CF

Accessibility & contrast

On white

12.85
#431B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#431B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B71
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B71#FFFFFF#000000##FFFFFF
##431B711.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431b71;
/* rgb */ color: rgb(67, 27, 113);
/* oklch */ color: oklch(33.3% 0.139 300.0);
Tailwind
colors: {
  custom: {
    50: '#7c5b9b',
    500: '#431b71',
    950: '#000000',
  },
}
SCSS
$custom: #431b71;
$custom-light: #7c5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431b71",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 267.907,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33315,
    "c": 0.13881,
    "h": 300
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#431B71
secondary
#77A642
accent
#E5439A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431B71

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

Preview Lab → · Contrast checker → · Palette generator →

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