#7335AA#7335AA

#7335AA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.180 H 304.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7335AA
RGBrgb(115, 53, 170)
HSLhsl(272, 52%, 44%)
HSVhsv(272, 69%, 67%)
CMYKcmyk(32.4%, 68.8%, 0%, 33.3%)
CIE-LABlab(36.16, 48.90, -52.05)
CIE-LCHlch(36.16, 71.41, 313.21°)
OKLaboklab(47.12% 0.1021 -0.1478)
OKLCHoklch(47.12% 0.18 304.6)
XYZxyz(15.5974, 9.0934, 38.9559)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335AA #6CAA35
analogous
#3935AA #7335AA #AA35A6
triadic
#7335AA #AA7335 #35AA73
tetradic
#7335AA #AA3935 #6CAA35 #35A6AA
square
#7335AA #AA3935 #6CAA35 #35A6AA
split-complementary
#7335AA #A6AA35 #35AA39
monochromatic
#34184D #53267B #7335AA #9253C9 #AF82D8

Accessibility & contrast

On white

7.45
#7335AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7335AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7335AA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335AA#FFFFFF#000000##FFFFFF
##7335AA1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0755A7
Tritanopia (blue-blind)
#694F6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7335aa;
/* rgb */ color: rgb(115, 53, 170);
/* oklch */ color: oklch(47.1% 0.180 304.6);
Tailwind
colors: {
  custom: {
    50: '#a071c4',
    500: '#7335aa',
    950: '#000000',
  },
}
SCSS
$custom: #7335aa;
$custom-light: #a071c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7335aa",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 271.795,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47121,
    "c": 0.17966,
    "h": 304.6
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#7335AA
secondary
#9BC17A
accent
#DC4C90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7335AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7335AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva