#431F72#431F72

#431F72 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.135 H 298.8°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#431F72
RGBrgb(67, 31, 114)
HSLhsl(266, 57%, 28%)
HSVhsv(266, 73%, 45%)
CMYKcmyk(41.2%, 72.8%, 0%, 55.3%)
CIE-LABlab(21.54, 35.52, -41.40)
CIE-LCHlch(21.54, 54.55, 310.63°)
OKLaboklab(33.93% 0.065 -0.1181)
OKLCHoklch(33.93% 0.135 298.8)
XYZxyz(5.8412, 3.3881, 16.2625)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F72 #4E721F
analogous
#1F2472 #431F72 #6C1F72
triadic
#431F72 #72431F #1F7243
tetradic
#431F72 #721F24 #4E721F #1F726C
square
#431F72 #721F24 #4E721F #1F726C
split-complementary
#431F72 #726C1F #24721F
monochromatic
#0E0718 #271242 #431F72 #5F2CA2 #7C40CB

Accessibility & contrast

On white

12.52
#431F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#431F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F72
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F72#FFFFFF#000000##FFFFFF
##431F721.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#383346
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431f72;
/* rgb */ color: rgb(67, 31, 114);
/* oklch */ color: oklch(33.9% 0.135 298.8);
Tailwind
colors: {
  custom: {
    50: '#7c5e9b',
    500: '#431f72',
    950: '#000000',
  },
}
SCSS
$custom: #431f72;
$custom-light: #7c5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#431f72",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 266.024,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33928,
    "c": 0.13483,
    "h": 298.8
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#431F72
secondary
#7DA647
accent
#E0479E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431F72

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

Preview Lab → · Contrast checker → · Palette generator →

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