#7337AF#7337AF

#7337AF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.183 H 303.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7337AF
RGBrgb(115, 55, 175)
HSLhsl(270, 52%, 45%)
HSVhsv(270, 69%, 69%)
CMYKcmyk(34.3%, 68.6%, 0%, 31.4%)
CIE-LABlab(36.88, 49.14, -53.87)
CIE-LCHlch(36.88, 72.92, 312.37°)
OKLaboklab(47.75% 0.0993 -0.1532)
OKLCHoklch(47.75% 0.183 303)
XYZxyz(16.1725, 9.4724, 41.5255)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7337AF #73AF37
analogous
#3737AF #7337AF #AF37AF
triadic
#7337AF #AF7337 #37AF73
tetradic
#7337AF #AF3737 #73AF37 #37AFAF
square
#7337AF #AF3737 #73AF37 #37AFAF
split-complementary
#7337AF #AFAF37 #37AF37
monochromatic
#361A52 #542880 #7337AF #9259CB #B087D9

Accessibility & contrast

On white

7.26
#7337AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7337AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7337AF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7337AF#FFFFFF#000000##FFFFFF
##7337AF1.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)
#0056B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#67526F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7337af;
/* rgb */ color: rgb(115, 55, 175);
/* oklch */ color: oklch(47.7% 0.183 303.0);
Tailwind
colors: {
  custom: {
    50: '#a072c8',
    500: '#7337af',
    950: '#000000',
  },
}
SCSS
$custom: #7337af;
$custom-light: #a072c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7337af",
  "rgb": {
    "r": 115,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 270,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47747,
    "c": 0.18254,
    "h": 303
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#7337AF
secondary
#A1C37F
accent
#DC4C94
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7337AF

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

Preview Lab → · Contrast checker → · Palette generator →

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