#7331AD#7331AD

#7331AD is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.188 H 304.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7331AD
RGBrgb(115, 49, 173)
HSLhsl(272, 56%, 44%)
HSVhsv(272, 72%, 68%)
CMYKcmyk(33.5%, 71.7%, 0%, 32.2%)
CIE-LABlab(35.71, 51.51, -54.57)
CIE-LCHlch(35.71, 75.04, 313.35°)
OKLaboklab(46.87% 0.1059 -0.1552)
OKLCHoklch(46.87% 0.188 304.3)
XYZxyz(15.7097, 8.8587, 40.4093)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7331AD #6BAD31
analogous
#3531AD #7331AD #AD31A9
triadic
#7331AD #AD7331 #31AD73
tetradic
#7331AD #AD3531 #6BAD31 #31A9AD
square
#7331AD #AD3531 #6BAD31 #31A9AD
split-complementary
#7331AD #A9AD31 #31AD35
monochromatic
#34164E #53237D #7331AD #924ECD #AF7EDA

Accessibility & contrast

On white

7.58
#7331AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7331AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7331AD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7331AD#FFFFFF#000000##FFFFFF
##7331AD1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#684E6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7331ad;
/* rgb */ color: rgb(115, 49, 173);
/* oklch */ color: oklch(46.9% 0.188 304.3);
Tailwind
colors: {
  custom: {
    50: '#a06fc6',
    500: '#7331ad',
    950: '#000000',
  },
}
SCSS
$custom: #7331ad;
$custom-light: #a06fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7331ad",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 271.935,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.18792,
    "h": 304.3
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#7331AD
secondary
#9AC377
accent
#DF498F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7331AD

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

Preview Lab → · Contrast checker → · Palette generator →

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