#7331B6#7331B6

#7331B6 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.197 H 301.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7331B6
RGBrgb(115, 49, 182)
HSLhsl(270, 58%, 45%)
HSVhsv(270, 73%, 71%)
CMYKcmyk(36.8%, 73.1%, 0%, 28.6%)
CIE-LABlab(36.40, 53.67, -58.79)
CIE-LCHlch(36.40, 79.61, 312.39°)
OKLaboklab(47.58% 0.1043 -0.1676)
OKLCHoklch(47.58% 0.197 301.9)
XYZxyz(16.6100, 9.2188, 45.1512)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7331B6 #74B631
analogous
#3132B6 #7331B6 #B531B6
triadic
#7331B6 #B67331 #31B673
tetradic
#7331B6 #B63132 #74B631 #31B6B5
square
#7331B6 #B63132 #74B631 #31B6B5
split-complementary
#7331B6 #B6B531 #32B631
monochromatic
#361756 #552486 #7331B6 #9253D1 #B084DE

Accessibility & contrast

On white

7.38
#7331B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7331B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7331B6
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7331B6#FFFFFF#000000##FFFFFF
##7331B61.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#655271
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7331b6;
/* rgb */ color: rgb(115, 49, 182);
/* oklch */ color: oklch(47.6% 0.197 301.9);
Tailwind
colors: {
  custom: {
    50: '#a16fcd',
    500: '#7331b6',
    950: '#000000',
  },
}
SCSS
$custom: #7331b6;
$custom-light: #a16fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7331b6",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 269.774,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47575,
    "c": 0.1974,
    "h": 301.9
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#7331B6
secondary
#A2C77C
accent
#E14794
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7331B6

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

Preview Lab → · Contrast checker → · Palette generator →

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