#431173#431173

#431173 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.152 H 300.9°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#431173
RGBrgb(67, 17, 115)
HSLhsl(271, 74%, 26%)
HSVhsv(271, 85%, 45%)
CMYKcmyk(41.7%, 85.2%, 0%, 54.9%)
CIE-LABlab(19.36, 42.26, -45.60)
CIE-LCHlch(19.36, 62.17, 312.82°)
OKLaboklab(32.42% 0.0779 -0.1304)
OKLCHoklch(32.42% 0.152 300.9)
XYZxyz(5.6089, 2.8319, 16.4674)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431173 #417311
analogous
#121173 #431173 #731172
triadic
#431173 #734311 #117343
tetradic
#431173 #731211 #417311 #117273
square
#431173 #731211 #417311 #117273
split-complementary
#431173 #727311 #117312
monochromatic
#10041B #24093E #431173 #6219A8 #8121DE

Accessibility & contrast

On white

13.41
#431173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431173
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431173#FFFFFF#000000##FFFFFF
##4311731.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431173;
/* rgb */ color: rgb(67, 17, 115);
/* oklch */ color: oklch(32.4% 0.152 300.9);
Tailwind
colors: {
  custom: {
    50: '#7d579c',
    500: '#431173',
    950: '#000000',
  },
}
SCSS
$custom: #431173;
$custom-light: #7d579c;
$custom-dark: #000000;
JSON
{
  "hex": "#431173",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 270.612,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32425,
    "c": 0.15188,
    "h": 300.9
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#431173
secondary
#6FAA36
accent
#F13792
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #431173

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

Preview Lab → · Contrast checker → · Palette generator →

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