#6335BA#6335BA

#6335BA is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.195 H 293.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6335BA
RGBrgb(99, 53, 186)
HSLhsl(261, 56%, 47%)
HSVhsv(261, 72%, 73%)
CMYKcmyk(46.8%, 71.5%, 0%, 27.1%)
CIE-LABlab(35.49, 49.95, -62.73)
CIE-LCHlch(35.49, 80.19, 308.53°)
OKLaboklab(46.6% 0.0766 -0.1798)
OKLCHoklch(46.6% 0.195 293.1)
XYZxyz(15.2792, 8.7435, 47.3275)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335BA #8CBA35
analogous
#3549BA #6335BA #A635BA
triadic
#6335BA #BA6335 #35BA63
tetradic
#6335BA #BA3549 #8CBA35 #35BAA6
square
#6335BA #BA3549 #8CBA35 #35BAA6
split-complementary
#6335BA #BAA635 #49BA35
monochromatic
#301A5B #4A278A #6335BA #845CD0 #A88BDE

Accessibility & contrast

On white

7.64
#6335BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6335BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335BA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335BA#FFFFFF#000000##FFFFFF
##6335BA1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#495774
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6335ba;
/* rgb */ color: rgb(99, 53, 186);
/* oklch */ color: oklch(46.6% 0.195 293.1);
Tailwind
colors: {
  custom: {
    50: '#9770d0',
    500: '#6335ba',
    950: '#000000',
  },
}
SCSS
$custom: #6335ba;
$custom-light: #9770d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6335ba",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 260.752,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.19543,
    "h": 293.1
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6335BA

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

Preview Lab → · Contrast checker → · Palette generator →

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