#431472#431472

#431472 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.148 H 300.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#431472
RGBrgb(67, 20, 114)
HSLhsl(270, 70%, 26%)
HSVhsv(270, 82%, 45%)
CMYKcmyk(41.2%, 82.5%, 0%, 55.3%)
CIE-LABlab(19.67, 40.81, -44.43)
CIE-LCHlch(19.67, 60.33, 312.57°)
OKLaboklab(32.62% 0.0758 -0.127)
OKLCHoklch(32.62% 0.148 300.8)
XYZxyz(5.6014, 2.9085, 16.1826)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431472 #437214
analogous
#141472 #431472 #721472
triadic
#431472 #724314 #147243
tetradic
#431472 #721414 #437214 #147272
square
#431472 #721414 #437214 #147272
split-complementary
#431472 #727214 #147214
monochromatic
#0F051A #240B3E #431472 #621DA6 #8027D9

Accessibility & contrast

On white

13.28
#431472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#431472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431472
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431472#FFFFFF#000000##FFFFFF
##4314721.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#382E43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #431472;
/* rgb */ color: rgb(67, 20, 114);
/* oklch */ color: oklch(32.6% 0.148 300.8);
Tailwind
colors: {
  custom: {
    50: '#7d589b',
    500: '#431472',
    950: '#000000',
  },
}
SCSS
$custom: #431472;
$custom-light: #7d589b;
$custom-dark: #000000;
JSON
{
  "hex": "#431472",
  "rgb": {
    "r": 67,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 270,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32615,
    "c": 0.14789,
    "h": 300.8
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#431472
secondary
#71A839
accent
#ED3B94
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431472

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

Preview Lab → · Contrast checker → · Palette generator →

#431472 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva