#6335BC#6335BC

#6335BC is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.198 H 292.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6335BC
RGBrgb(99, 53, 188)
HSLhsl(260, 56%, 47%)
HSVhsv(260, 72%, 74%)
CMYKcmyk(47.3%, 71.8%, 0%, 26.3%)
CIE-LABlab(35.65, 50.49, -63.64)
CIE-LCHlch(35.65, 81.23, 308.43°)
OKLaboklab(46.77% 0.0762 -0.1824)
OKLCHoklch(46.77% 0.198 292.7)
XYZxyz(15.4933, 8.8292, 48.4551)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335BC #8EBC35
analogous
#354BBC #6335BC #A635BC
triadic
#6335BC #BC6335 #35BC63
tetradic
#6335BC #BC354B #8EBC35 #35BCA6
square
#6335BC #BC354B #8EBC35 #35BCA6
split-complementary
#6335BC #BCA635 #4BBC35
monochromatic
#311A5D #4A288C #6335BC #855DD1 #A98DDF

Accessibility & contrast

On white

7.59
#6335BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6335BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335BC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335BC#FFFFFF#000000##FFFFFF
##6335BC1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#485875
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6335bc;
/* rgb */ color: rgb(99, 53, 188);
/* oklch */ color: oklch(46.8% 0.198 292.7);
Tailwind
colors: {
  custom: {
    50: '#9770d1',
    500: '#6335bc',
    950: '#000000',
  },
}
SCSS
$custom: #6335bc;
$custom-light: #9770d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6335bc",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 260.444,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46769,
    "c": 0.19771,
    "h": 292.7
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#6335BC
secondary
#B1C984
accent
#DF48AC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6335BC

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

Preview Lab → · Contrast checker → · Palette generator →

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