#431372#431372

#431372 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.149 H 301.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#431372
RGBrgb(67, 19, 114)
HSLhsl(270, 71%, 26%)
HSVhsv(270, 83%, 45%)
CMYKcmyk(41.2%, 83.3%, 0%, 55.3%)
CIE-LABlab(19.53, 41.22, -44.67)
CIE-LCHlch(19.53, 60.78, 312.70°)
OKLaboklab(32.52% 0.0767 -0.1277)
OKLCHoklch(32.52% 0.149 301)
XYZxyz(5.5841, 2.8739, 16.1768)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431372 #427213
analogous
#131372 #431372 #721371
triadic
#431372 #724313 #137243
tetradic
#431372 #721313 #427213 #137172
square
#431372 #721313 #427213 #137172
split-complementary
#431372 #717213 #137213
monochromatic
#0F041A #240A3E #431372 #621CA6 #8125DB

Accessibility & contrast

On white

13.34
#431372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#431372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431372
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431372#FFFFFF#000000##FFFFFF
##4313721.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#382D43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #431372;
/* rgb */ color: rgb(67, 19, 114);
/* oklch */ color: oklch(32.5% 0.149 301.0);
Tailwind
colors: {
  custom: {
    50: '#7d589b',
    500: '#431372',
    950: '#000000',
  },
}
SCSS
$custom: #431372;
$custom-light: #7d589b;
$custom-dark: #000000;
JSON
{
  "hex": "#431372",
  "rgb": {
    "r": 67,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 270.316,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32516,
    "c": 0.14891,
    "h": 301
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#431372
secondary
#70A938
accent
#EE3A93
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #431372

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

Preview Lab → · Contrast checker → · Palette generator →

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