#6733AB#6733AB

#6733AB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.181 H 298.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6733AB
RGBrgb(103, 51, 171)
HSLhsl(266, 54%, 44%)
HSVhsv(266, 70%, 67%)
CMYKcmyk(39.8%, 70.2%, 0%, 32.9%)
CIE-LABlab(34.38, 47.70, -55.61)
CIE-LCHlch(34.38, 73.27, 310.62°)
OKLaboklab(45.54% 0.0872 -0.1587)
OKLCHoklch(45.54% 0.181 298.8)
XYZxyz(14.1262, 8.1913, 39.3570)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6733AB #77AB33
analogous
#333BAB #6733AB #A333AB
triadic
#6733AB #AB6733 #33AB67
tetradic
#6733AB #AB333B #77AB33 #33ABA3
square
#6733AB #AB333B #77AB33 #33ABA3
split-complementary
#6733AB #ABA333 #3BAB33
monochromatic
#2E174D #4B257C #6733AB #8550CB #A67FD9

Accessibility & contrast

On white

7.96
#6733AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6733AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6733AB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6733AB#FFFFFF#000000##FFFFFF
##6733AB1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#57506B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6733ab;
/* rgb */ color: rgb(103, 51, 171);
/* oklch */ color: oklch(45.5% 0.181 298.8);
Tailwind
colors: {
  custom: {
    50: '#986fc5',
    500: '#6733ab',
    950: '#000000',
  },
}
SCSS
$custom: #6733ab;
$custom-light: #986fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6733ab",
  "rgb": {
    "r": 103,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 266,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45538,
    "c": 0.18106,
    "h": 298.8
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#6733AB
secondary
#A2C278
accent
#DD4A9E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6733AB

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

Preview Lab → · Contrast checker → · Palette generator →

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