#6335B8#6335B8

#6335B8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.193 H 293.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6335B8
RGBrgb(99, 53, 184)
HSLhsl(261, 55%, 46%)
HSVhsv(261, 71%, 72%)
CMYKcmyk(46.2%, 71.2%, 0%, 27.8%)
CIE-LABlab(35.32, 49.40, -61.82)
CIE-LCHlch(35.32, 79.14, 308.63°)
OKLaboklab(46.43% 0.077 -0.1771)
OKLCHoklch(46.43% 0.193 293.5)
XYZxyz(15.0680, 8.6591, 46.2156)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335B8 #8AB835
analogous
#3549B8 #6335B8 #A535B8
triadic
#6335B8 #B86335 #35B863
tetradic
#6335B8 #B83549 #8AB835 #35B8A5
square
#6335B8 #B83549 #8AB835 #35B8A5
split-complementary
#6335B8 #B8A535 #49B835
monochromatic
#301A59 #492788 #6335B8 #845BD0 #A78ADD

Accessibility & contrast

On white

7.69
#6335B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6335B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335B8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335B8#FFFFFF#000000##FFFFFF
##6335B81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#4A5673
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6335b8;
/* rgb */ color: rgb(99, 53, 184);
/* oklch */ color: oklch(46.4% 0.193 293.5);
Tailwind
colors: {
  custom: {
    50: '#9770ce',
    500: '#6335b8',
    950: '#000000',
  },
}
SCSS
$custom: #6335b8;
$custom-light: #9770ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6335b8",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 261.069,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.19313,
    "h": 293.5
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#6335B8
secondary
#AFC781
accent
#DF49AA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6335B8

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

Preview Lab → · Contrast checker → · Palette generator →

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