#6335BF#6335BF

#6335BF is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.0% C 0.201 H 292.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6335BF
RGBrgb(99, 53, 191)
HSLhsl(260, 57%, 48%)
HSVhsv(260, 72%, 75%)
CMYKcmyk(48.2%, 72.3%, 0%, 25.1%)
CIE-LABlab(35.91, 51.30, -64.99)
CIE-LCHlch(35.91, 82.80, 308.29°)
OKLaboklab(47.03% 0.0756 -0.1864)
OKLCHoklch(47.03% 0.201 292.1)
XYZxyz(15.8200, 8.9599, 50.1760)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335BF #91BF35
analogous
#354CBF #6335BF #A835BF
triadic
#6335BF #BF6335 #35BF63
tetradic
#6335BF #BF354C #91BF35 #35BFA8
square
#6335BF #BF354C #91BF35 #35BFA8
split-complementary
#6335BF #BFA835 #4CBF35
monochromatic
#311A5F #4A288F #6335BF #855FD3 #AA8FE0

Accessibility & contrast

On white

7.52
#6335BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6335BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335BF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335BF#FFFFFF#000000##FFFFFF
##6335BF1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#465977
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6335bf;
/* rgb */ color: rgb(99, 53, 191);
/* oklch */ color: oklch(47.0% 0.201 292.1);
Tailwind
colors: {
  custom: {
    50: '#9870d3',
    500: '#6335bf',
    950: '#000000',
  },
}
SCSS
$custom: #6335bf;
$custom-light: #9870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6335bf",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 260,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47027,
    "c": 0.20114,
    "h": 292.1
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#6335BF
secondary
#B3CA85
accent
#E048AD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6335BF

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

Preview Lab → · Contrast checker → · Palette generator →

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