#7331A9#7331A9

#7331A9 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.184 H 305.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7331A9
RGBrgb(115, 49, 169)
HSLhsl(273, 55%, 43%)
HSVhsv(273, 71%, 66%)
CMYKcmyk(32%, 71%, 0%, 33.7%)
CIE-LABlab(35.41, 50.55, -52.66)
CIE-LCHlch(35.41, 73.00, 313.83°)
OKLaboklab(46.56% 0.1066 -0.1496)
OKLCHoklch(46.56% 0.184 305.5)
XYZxyz(15.3284, 8.7061, 38.4014)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7331A9 #67A931
analogous
#3731A9 #7331A9 #A931A3
triadic
#7331A9 #A97331 #31A973
tetradic
#7331A9 #A93731 #67A931 #31A3A9
square
#7331A9 #A93731 #67A931 #31A3A9
split-complementary
#7331A9 #A3A931 #31A937
monochromatic
#32154A #53237A #7331A9 #924CCB #AF7CD9

Accessibility & contrast

On white

7.66
#7331A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7331A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7331A9
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7331A9#FFFFFF#000000##FFFFFF
##7331A91.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#694D69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7331a9;
/* rgb */ color: rgb(115, 49, 169);
/* oklch */ color: oklch(46.6% 0.184 305.5);
Tailwind
colors: {
  custom: {
    50: '#a06fc3',
    500: '#7331a9',
    950: '#000000',
  },
}
SCSS
$custom: #7331a9;
$custom-light: #a06fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7331a9",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 273,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.18369,
    "h": 305.5
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#7331A9
secondary
#97C174
accent
#DE498C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7331A9

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

Preview Lab → · Contrast checker → · Palette generator →

#7331A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva