#6335B5#6335B5

#6335B5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.190 H 294.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6335B5
RGBrgb(99, 53, 181)
HSLhsl(262, 55%, 46%)
HSVhsv(262, 71%, 71%)
CMYKcmyk(45.3%, 70.7%, 0%, 29%)
CIE-LABlab(35.07, 48.59, -60.45)
CIE-LCHlch(35.07, 77.56, 308.79°)
OKLaboklab(46.18% 0.0776 -0.1731)
OKLCHoklch(46.18% 0.19 294.1)
XYZxyz(14.7569, 8.5346, 44.5769)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335B5 #87B535
analogous
#3547B5 #6335B5 #A335B5
triadic
#6335B5 #B56335 #35B563
tetradic
#6335B5 #B53547 #87B535 #35B5A3
square
#6335B5 #B53547 #87B535 #35B5A3
split-complementary
#6335B5 #B5A335 #47B535
monochromatic
#2F1956 #492786 #6335B5 #8359CE #A688DC

Accessibility & contrast

On white

7.76
#6335B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6335B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335B5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335B5#FFFFFF#000000##FFFFFF
##6335B51.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#4C5571
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6335b5;
/* rgb */ color: rgb(99, 53, 181);
/* oklch */ color: oklch(46.2% 0.190 294.1);
Tailwind
colors: {
  custom: {
    50: '#9770cc',
    500: '#6335b5',
    950: '#000000',
  },
}
SCSS
$custom: #6335b5;
$custom-light: #9770cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6335b5",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 261.563,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.18968,
    "h": 294.1
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#6335B5
secondary
#ADC680
accent
#DE4AA9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6335B5

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

Preview Lab → · Contrast checker → · Palette generator →

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