#7331A3#7331A3

#7331A3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.177 H 307.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7331A3
RGBrgb(115, 49, 163)
HSLhsl(275, 54%, 42%)
HSVhsv(275, 70%, 64%)
CMYKcmyk(29.4%, 69.9%, 0%, 36.1%)
CIE-LABlab(34.98, 49.14, -49.77)
CIE-LCHlch(34.98, 69.94, 314.64°)
OKLaboklab(46.11% 0.1074 -0.1411)
OKLCHoklch(46.11% 0.177 307.3)
XYZxyz(14.7780, 8.4860, 35.5027)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7331A3 #61A331
analogous
#3A31A3 #7331A3 #A3319A
triadic
#7331A3 #A37331 #31A373
tetradic
#7331A3 #A33A31 #61A331 #319AA3
square
#7331A3 #A33A31 #61A331 #319AA3
split-complementary
#7331A3 #9AA331 #31A33A
monochromatic
#311545 #522374 #7331A3 #9349C8 #AF78D6

Accessibility & contrast

On white

7.79
#7331A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7331A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7331A3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7331A3#FFFFFF#000000##FFFFFF
##7331A31.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#1253A1
Tritanopia (blue-blind)
#6B4A66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7331a3;
/* rgb */ color: rgb(115, 49, 163);
/* oklch */ color: oklch(46.1% 0.177 307.3);
Tailwind
colors: {
  custom: {
    50: '#9f6ebf',
    500: '#7331a3',
    950: '#000000',
  },
}
SCSS
$custom: #7331a3;
$custom-light: #9f6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#7331a3",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 274.737,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46112,
    "c": 0.17734,
    "h": 307.3
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#7331A3
secondary
#92BF71
accent
#DD4B88
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7331A3

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

Preview Lab → · Contrast checker → · Palette generator →

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