#6333AA#6333AA

#6333AA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.179 H 297.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6333AA
RGBrgb(99, 51, 170)
HSLhsl(264, 54%, 43%)
HSVhsv(264, 70%, 67%)
CMYKcmyk(41.8%, 70%, 0%, 33.3%)
CIE-LABlab(33.82, 46.67, -55.94)
CIE-LCHlch(33.82, 72.85, 309.84°)
OKLaboklab(45.01% 0.0816 -0.1598)
OKLCHoklch(45.01% 0.179 297)
XYZxyz(13.5832, 7.9223, 38.8359)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6333AA #7AAA33
analogous
#333EAA #6333AA #9E33AA
triadic
#6333AA #AA6333 #33AA63
tetradic
#6333AA #AA333E #7AAA33 #33AA9E
square
#6333AA #AA333E #7AAA33 #33AA9E
split-complementary
#6333AA #AA9E33 #3EAA33
monochromatic
#2C174C #48257B #6333AA #8150CA #A37FD9

Accessibility & contrast

On white

8.13
#6333AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6333AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6333AA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6333AA#FFFFFF#000000##FFFFFF
##6333AA1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#51506B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6333aa;
/* rgb */ color: rgb(99, 51, 170);
/* oklch */ color: oklch(45.0% 0.179 297.0);
Tailwind
colors: {
  custom: {
    50: '#956ec4',
    500: '#6333aa',
    950: '#000000',
  },
}
SCSS
$custom: #6333aa;
$custom-light: #956ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#6333aa",
  "rgb": {
    "r": 99,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 264.202,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.17943,
    "h": 297
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#6333AA
secondary
#A4C277
accent
#DD4BA2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6333AA

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

Preview Lab → · Contrast checker → · Palette generator →

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