#431373#431373

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

Color values

HEX#431373
RGBrgb(67, 19, 115)
HSLhsl(270, 72%, 26%)
HSVhsv(270, 83%, 45%)
CMYKcmyk(41.7%, 83.5%, 0%, 54.9%)
CIE-LABlab(19.63, 41.48, -45.16)
CIE-LCHlch(19.63, 61.32, 312.57°)
OKLaboklab(32.61% 0.0763 -0.1291)
OKLCHoklch(32.61% 0.15 300.6)
XYZxyz(5.6414, 2.8968, 16.4783)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431373 #437313
analogous
#131373 #431373 #731373
triadic
#431373 #734313 #137343
tetradic
#431373 #731313 #437313 #137373
square
#431373 #731313 #437313 #137373
split-complementary
#431373 #737313 #137313
monochromatic
#0F041A #240A3E #431373 #621CA8 #8025DB

Accessibility & contrast

On white

13.30
#431373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431373
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431373#FFFFFF#000000##FFFFFF
##4313731.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#382E43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #431373;
/* rgb */ color: rgb(67, 19, 115);
/* oklch */ color: oklch(32.6% 0.150 300.6);
Tailwind
colors: {
  custom: {
    50: '#7d589c',
    500: '#431373',
    950: '#000000',
  },
}
SCSS
$custom: #431373;
$custom-light: #7d589c;
$custom-dark: #000000;
JSON
{
  "hex": "#431373",
  "rgb": {
    "r": 67,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 270,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32611,
    "c": 0.14998,
    "h": 300.6
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#431373
secondary
#71AA38
accent
#EE3994
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #431373

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

Preview Lab → · Contrast checker → · Palette generator →

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