#7331B0#7331B0

#7331B0 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.191 H 303.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7331B0
RGBrgb(115, 49, 176)
HSLhsl(271, 56%, 44%)
HSVhsv(271, 72%, 69%)
CMYKcmyk(34.7%, 72.2%, 0%, 31%)
CIE-LABlab(35.94, 52.22, -55.99)
CIE-LCHlch(35.94, 76.56, 313.01°)
OKLaboklab(47.1% 0.1054 -0.1594)
OKLCHoklch(47.1% 0.191 303.5)
XYZxyz(16.0032, 8.9761, 41.9553)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7331B0 #6EB031
analogous
#3431B0 #7331B0 #B031AE
triadic
#7331B0 #B07331 #31B073
tetradic
#7331B0 #B03431 #6EB031 #31AEB0
square
#7331B0 #B03431 #6EB031 #31AEB0
split-complementary
#7331B0 #AEB031 #31B034
monochromatic
#341650 #542480 #7331B0 #9250CE #B080DC

Accessibility & contrast

On white

7.51
#7331B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7331B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7331B0
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7331B0#FFFFFF#000000##FFFFFF
##7331B01.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#67506D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7331b0;
/* rgb */ color: rgb(115, 49, 176);
/* oklch */ color: oklch(47.1% 0.191 303.5);
Tailwind
colors: {
  custom: {
    50: '#a16fc8',
    500: '#7331b0',
    950: '#000000',
  },
}
SCSS
$custom: #7331b0;
$custom-light: #a16fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7331b0",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 271.181,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.19108,
    "h": 303.5
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#7331B0
secondary
#9DC578
accent
#E04891
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7331B0

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

Preview Lab → · Contrast checker → · Palette generator →

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