#6335BD#6335BD

#6335BD is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.199 H 292.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6335BD
RGBrgb(99, 53, 189)
HSLhsl(260, 56%, 47%)
HSVhsv(260, 72%, 74%)
CMYKcmyk(47.6%, 72%, 0%, 25.9%)
CIE-LABlab(35.74, 50.76, -64.09)
CIE-LCHlch(35.74, 81.75, 308.38°)
OKLaboklab(46.85% 0.076 -0.1838)
OKLCHoklch(46.85% 0.199 292.5)
XYZxyz(15.6014, 8.8724, 49.0248)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335BD #8FBD35
analogous
#354BBD #6335BD #A735BD
triadic
#6335BD #BD6335 #35BD63
tetradic
#6335BD #BD354B #8FBD35 #35BDA7
square
#6335BD #BD354B #8FBD35 #35BDA7
split-complementary
#6335BD #BDA735 #4BBD35
monochromatic
#311A5D #4A288D #6335BD #855DD2 #A98DDF

Accessibility & contrast

On white

7.57
#6335BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6335BD
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335BD#FFFFFF#000000##FFFFFF
##6335BD1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#475876
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6335bd;
/* rgb */ color: rgb(99, 53, 189);
/* oklch */ color: oklch(46.9% 0.199 292.5);
Tailwind
colors: {
  custom: {
    50: '#9870d2',
    500: '#6335bd',
    950: '#000000',
  },
}
SCSS
$custom: #6335bd;
$custom-light: #9870d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6335bd",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 260.294,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.19885,
    "h": 292.5
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#6335BD
secondary
#B2CA84
accent
#DF48AC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6335BD

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

Preview Lab → · Contrast checker → · Palette generator →

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