#7337AB#7337AB

#7337AB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.178 H 304.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7337AB
RGBrgb(115, 55, 171)
HSLhsl(271, 51%, 44%)
HSVhsv(271, 68%, 67%)
CMYKcmyk(32.7%, 67.8%, 0%, 32.9%)
CIE-LABlab(36.59, 48.16, -51.95)
CIE-LCHlch(36.59, 70.84, 312.83°)
OKLaboklab(47.45% 0.0998 -0.1476)
OKLCHoklch(47.45% 0.178 304.1)
XYZxyz(15.7854, 9.3175, 39.4870)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7337AB #6FAB37
analogous
#3937AB #7337AB #AB37A9
triadic
#7337AB #AB7337 #37AB73
tetradic
#7337AB #AB3937 #6FAB37 #37A9AB
square
#7337AB #AB3937 #6FAB37 #37A9AB
split-complementary
#7337AB #A9AB37 #37AB39
monochromatic
#35194E #54287D #7337AB #9256C9 #B085D8

Accessibility & contrast

On white

7.33
#7337AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7337AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7337AB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7337AB#FFFFFF#000000##FFFFFF
##7337AB1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0A56A9
Tritanopia (blue-blind)
#68516C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7337ab;
/* rgb */ color: rgb(115, 55, 171);
/* oklch */ color: oklch(47.4% 0.178 304.1);
Tailwind
colors: {
  custom: {
    50: '#a072c5',
    500: '#7337ab',
    950: '#000000',
  },
}
SCSS
$custom: #7337ab;
$custom-light: #a072c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7337ab",
  "rgb": {
    "r": 115,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 271.034,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.17814,
    "h": 304.1
  },
  "luminance": 0.09317
}

Semantic roles & 50–950 ramp

primary
#7337AB
secondary
#9EC17C
accent
#DB4D91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7337AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7337AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva