#431572#431572

#431572 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.147 H 300.7°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#431572
RGBrgb(67, 21, 114)
HSLhsl(270, 69%, 26%)
HSVhsv(270, 82%, 45%)
CMYKcmyk(41.2%, 81.6%, 0%, 55.3%)
CIE-LABlab(19.82, 40.39, -44.19)
CIE-LCHlch(19.82, 59.87, 312.42°)
OKLaboklab(32.72% 0.075 -0.1263)
OKLCHoklch(32.72% 0.147 300.7)
XYZxyz(5.6194, 2.9445, 16.1886)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431572 #447215
analogous
#151672 #431572 #721572
triadic
#431572 #724315 #157243
tetradic
#431572 #721516 #447215 #157272
square
#431572 #721516 #447215 #157272
split-complementary
#431572 #727215 #167215
monochromatic
#0F051A #250B3E #431572 #611FA6 #802AD8

Accessibility & contrast

On white

13.22
#431572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#431572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431572
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431572#FFFFFF#000000##FFFFFF
##4315721.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431572;
/* rgb */ color: rgb(67, 21, 114);
/* oklch */ color: oklch(32.7% 0.147 300.7);
Tailwind
colors: {
  custom: {
    50: '#7c589b',
    500: '#431572',
    950: '#000000',
  },
}
SCSS
$custom: #431572;
$custom-light: #7c589b;
$custom-dark: #000000;
JSON
{
  "hex": "#431572",
  "rgb": {
    "r": 67,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 269.677,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32717,
    "c": 0.14686,
    "h": 300.7
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#431572
secondary
#72A83B
accent
#EC3C95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431572

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

Preview Lab → · Contrast checker → · Palette generator →

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