#7333AB#7333AB

#7333AB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.183 H 304.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7333AB
RGBrgb(115, 51, 171)
HSLhsl(272, 54%, 44%)
HSVhsv(272, 70%, 67%)
CMYKcmyk(32.7%, 70.2%, 0%, 32.9%)
CIE-LABlab(35.89, 50.10, -53.08)
CIE-LCHlch(35.89, 72.99, 313.34°)
OKLaboklab(46.95% 0.1042 -0.1509)
OKLCHoklch(46.95% 0.183 304.6)
XYZxyz(15.6031, 8.9528, 39.4262)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7333AB #6BAB33
analogous
#3733AB #7333AB #AB33A7
triadic
#7333AB #AB7333 #33AB73
tetradic
#7333AB #AB3733 #6BAB33 #33A7AB
square
#7333AB #AB3733 #6BAB33 #33A7AB
split-complementary
#7333AB #A7AB33 #33AB37
monochromatic
#34174D #53257C #7333AB #9250CB #AF7FD9

Accessibility & contrast

On white

7.53
#7333AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7333AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7333AB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7333AB#FFFFFF#000000##FFFFFF
##7333AB1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#694F6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7333ab;
/* rgb */ color: rgb(115, 51, 171);
/* oklch */ color: oklch(47.0% 0.183 304.6);
Tailwind
colors: {
  custom: {
    50: '#a070c5',
    500: '#7333ab',
    950: '#000000',
  },
}
SCSS
$custom: #7333ab;
$custom-light: #a070c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7333ab",
  "rgb": {
    "r": 115,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 272,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46951,
    "c": 0.18332,
    "h": 304.6
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#7333AB
secondary
#9AC278
accent
#DD4A8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7333AB

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

Preview Lab → · Contrast checker → · Palette generator →

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