#6333BA#6333BA

#6333BA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.198 H 293.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6333BA
RGBrgb(99, 51, 186)
HSLhsl(261, 57%, 46%)
HSVhsv(261, 73%, 73%)
CMYKcmyk(46.8%, 72.6%, 0%, 27.1%)
CIE-LABlab(35.13, 50.94, -63.31)
CIE-LCHlch(35.13, 81.26, 308.82°)
OKLaboklab(46.35% 0.0784 -0.1815)
OKLCHoklch(46.35% 0.198 293.4)
XYZxyz(15.1899, 8.5650, 47.2977)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6333BA #8ABA33
analogous
#3347BA #6333BA #A733BA
triadic
#6333BA #BA6333 #33BA63
tetradic
#6333BA #BA3347 #8ABA33 #33BAA7
square
#6333BA #BA3347 #8ABA33 #33BAA7
split-complementary
#6333BA #BAA733 #47BA33
monochromatic
#30195A #49268A #6333BA #8459D1 #A789DF

Accessibility & contrast

On white

7.74
#6333BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6333BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6333BA#FFFFFF#000000##FFFFFF
##6333BA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#495673
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6333ba;
/* rgb */ color: rgb(99, 51, 186);
/* oklch */ color: oklch(46.3% 0.198 293.4);
Tailwind
colors: {
  custom: {
    50: '#976fd0',
    500: '#6333ba',
    950: '#000000',
  },
}
SCSS
$custom: #6333ba;
$custom-light: #976fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6333ba",
  "rgb": {
    "r": 99,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 261.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46348,
    "c": 0.19769,
    "h": 293.4
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#6333BA
secondary
#AFC980
accent
#E048AA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6333BA

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

Preview Lab → · Contrast checker → · Palette generator →

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