#7331BC#7331BC

#7331BC is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.204 H 300.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7331BC
RGBrgb(115, 49, 188)
HSLhsl(268, 59%, 46%)
HSVhsv(268, 74%, 74%)
CMYKcmyk(38.8%, 73.9%, 0%, 26.3%)
CIE-LABlab(36.88, 55.13, -61.56)
CIE-LCHlch(36.88, 82.64, 311.85°)
OKLaboklab(48.06% 0.103 -0.1758)
OKLCHoklch(48.06% 0.204 300.4)
XYZxyz(17.2434, 9.4721, 48.4870)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7331BC #7ABC31
analogous
#3135BC #7331BC #B931BC
triadic
#7331BC #BC7331 #31BC73
tetradic
#7331BC #BC3135 #7ABC31 #31BCB9
square
#7331BC #BC3135 #7ABC31 #31BCB9
split-complementary
#7331BC #BCB931 #35BC31
monochromatic
#38185B #55248B #7331BC #9257D3 #B188E0

Accessibility & contrast

On white

7.26
#7331BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7331BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7331BC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7331BC#FFFFFF#000000##FFFFFF
##7331BC1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#625474
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7331bc;
/* rgb */ color: rgb(115, 49, 188);
/* oklch */ color: oklch(48.1% 0.204 300.4);
Tailwind
colors: {
  custom: {
    50: '#a26fd1',
    500: '#7331bc',
    950: '#000000',
  },
}
SCSS
$custom: #7331bc;
$custom-light: #a26fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7331bc",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 268.489,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.20371,
    "h": 300.4
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#7331BC
secondary
#A6CA7F
accent
#E24698
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7331BC

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

Preview Lab → · Contrast checker → · Palette generator →

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