#431A72#431A72

#431A72 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.141 H 299.8°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#431A72
RGBrgb(67, 26, 114)
HSLhsl(268, 63%, 27%)
HSVhsv(268, 77%, 45%)
CMYKcmyk(41.2%, 77.2%, 0%, 55.3%)
CIE-LABlab(20.62, 38.09, -42.88)
CIE-LCHlch(20.62, 57.36, 311.61°)
OKLaboklab(33.28% 0.0703 -0.1225)
OKLCHoklch(33.28% 0.141 299.8)
XYZxyz(5.7206, 3.1469, 16.2224)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A72 #49721A
analogous
#1A1D72 #431A72 #6F1A72
triadic
#431A72 #72431A #1A7243
tetradic
#431A72 #721A1D #49721A #1A726F
square
#431A72 #721A1D #49721A #1A726F
split-complementary
#431A72 #726F1A #1D721A
monochromatic
#0F0619 #260F40 #431A72 #6025A4 #7E35D1

Accessibility & contrast

On white

12.89
#431A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431A72
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A72#FFFFFF#000000##FFFFFF
##431A721.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#383044
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431a72;
/* rgb */ color: rgb(67, 26, 114);
/* oklch */ color: oklch(33.3% 0.141 299.8);
Tailwind
colors: {
  custom: {
    50: '#7c5b9b',
    500: '#431a72',
    950: '#000000',
  },
}
SCSS
$custom: #431a72;
$custom-light: #7c5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431a72",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 267.955,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33281,
    "c": 0.1412,
    "h": 299.8
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#431A72
secondary
#77A741
accent
#E64299
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431A72

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

Preview Lab → · Contrast checker → · Palette generator →

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