#6335B9#6335B9

#6335B9 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.194 H 293.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#6335B9
RGBrgb(99, 53, 185)
HSLhsl(261, 55%, 47%)
HSVhsv(261, 71%, 73%)
CMYKcmyk(46.5%, 71.4%, 0%, 27.5%)
CIE-LABlab(35.40, 49.67, -62.28)
CIE-LCHlch(35.40, 79.66, 308.58°)
OKLaboklab(46.51% 0.0768 -0.1784)
OKLCHoklch(46.51% 0.194 293.3)
XYZxyz(15.1732, 8.7012, 46.7696)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335B9 #8BB935
analogous
#3549B9 #6335B9 #A535B9
triadic
#6335B9 #B96335 #35B963
tetradic
#6335B9 #B93549 #8BB935 #35B9A5
square
#6335B9 #B93549 #8BB935 #35B9A5
split-complementary
#6335B9 #B9A535 #49B935
monochromatic
#301A5A #4A2789 #6335B9 #845BD0 #A88BDE

Accessibility & contrast

On white

7.66
#6335B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6335B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335B9
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335B9#FFFFFF#000000##FFFFFF
##6335B91.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#495773
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6335b9;
/* rgb */ color: rgb(99, 53, 185);
/* oklch */ color: oklch(46.5% 0.194 293.3);
Tailwind
colors: {
  custom: {
    50: '#9770cf',
    500: '#6335b9',
    950: '#000000',
  },
}
SCSS
$custom: #6335b9;
$custom-light: #9770cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6335b9",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 260.909,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.19428,
    "h": 293.3
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6335B9

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

Preview Lab → · Contrast checker → · Palette generator →

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