#7431AA#7431AA

#7431AA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.185 H 305.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7431AA
RGBrgb(116, 49, 170)
HSLhsl(273, 55%, 43%)
HSVhsv(273, 71%, 67%)
CMYKcmyk(31.8%, 71.2%, 0%, 33.3%)
CIE-LABlab(35.62, 50.99, -52.92)
CIE-LCHlch(35.62, 73.49, 313.94°)
OKLaboklab(46.76% 0.1078 -0.1503)
OKLCHoklch(46.76% 0.185 305.6)
XYZxyz(15.5549, 8.8120, 38.9039)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431AA #67AA31
analogous
#3731AA #7431AA #AA31A3
triadic
#7431AA #AA7431 #31AA74
tetradic
#7431AA #AA3731 #67AA31 #31A3AA
square
#7431AA #AA3731 #67AA31 #31A3AA
split-complementary
#7431AA #A3AA31 #31AA37
monochromatic
#33164B #54237A #7431AA #934DCC #B07CD9

Accessibility & contrast

On white

7.60
#7431AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7431AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7431AA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431AA#FFFFFF#000000##FFFFFF
##7431AA1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#6A4D6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7431aa;
/* rgb */ color: rgb(116, 49, 170);
/* oklch */ color: oklch(46.8% 0.185 305.6);
Tailwind
colors: {
  custom: {
    50: '#a16fc4',
    500: '#7431aa',
    950: '#000000',
  },
}
SCSS
$custom: #7431aa;
$custom-light: #a16fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7431aa",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 273.223,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.18499,
    "h": 305.6
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#7431AA
secondary
#97C275
accent
#DF498C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7431AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7431AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva