#6335BB#6335BB

#6335BB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.197 H 292.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6335BB
RGBrgb(99, 53, 187)
HSLhsl(261, 56%, 47%)
HSVhsv(261, 72%, 73%)
CMYKcmyk(47.1%, 71.7%, 0%, 26.7%)
CIE-LABlab(35.57, 50.22, -63.19)
CIE-LCHlch(35.57, 80.71, 308.48°)
OKLaboklab(46.68% 0.0764 -0.1811)
OKLCHoklch(46.68% 0.197 292.9)
XYZxyz(15.3858, 8.7862, 47.8893)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335BB #8DBB35
analogous
#354ABB #6335BB #A635BB
triadic
#6335BB #BB6335 #35BB63
tetradic
#6335BB #BB354A #8DBB35 #35BBA6
square
#6335BB #BB354A #8DBB35 #35BBA6
split-complementary
#6335BB #BBA635 #4ABB35
monochromatic
#311A5C #4A278B #6335BB #845CD1 #A88CDE

Accessibility & contrast

On white

7.62
#6335BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6335BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335BB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335BB#FFFFFF#000000##FFFFFF
##6335BB1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#485874
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6335bb;
/* rgb */ color: rgb(99, 53, 187);
/* oklch */ color: oklch(46.7% 0.197 292.9);
Tailwind
colors: {
  custom: {
    50: '#9770d0',
    500: '#6335bb',
    950: '#000000',
  },
}
SCSS
$custom: #6335bb;
$custom-light: #9770d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6335bb",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 260.597,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46683,
    "c": 0.19657,
    "h": 292.9
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#6335BB
secondary
#B1C983
accent
#DF49AB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6335BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6335BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva