#6335C6#6335C6

#6335C6 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.209 H 290.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6335C6
RGBrgb(99, 53, 198)
HSLhsl(259, 58%, 49%)
HSVhsv(259, 73%, 78%)
CMYKcmyk(50%, 73.2%, 0%, 22.4%)
CIE-LABlab(36.51, 53.20, -68.10)
CIE-LCHlch(36.51, 86.42, 308.00°)
OKLaboklab(47.64% 0.074 -0.1955)
OKLCHoklch(47.64% 0.209 290.7)
XYZxyz(16.6088, 9.2754, 54.3303)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335C6 #98C635
analogous
#3550C6 #6335C6 #AB35C6
triadic
#6335C6 #C66335 #35C663
tetradic
#6335C6 #C63550 #98C635 #35C6AB
square
#6335C6 #C63550 #98C635 #35C6AB
split-complementary
#6335C6 #C6AB35 #50C635
monochromatic
#331B65 #4B2896 #6335C6 #8763D5 #AC93E2

Accessibility & contrast

On white

7.36
#6335C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6335C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335C6
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335C6#FFFFFF#000000##FFFFFF
##6335C61.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#0053C3
Tritanopia (blue-blind)
#415C7B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6335c6;
/* rgb */ color: rgb(99, 53, 198);
/* oklch */ color: oklch(47.6% 0.209 290.7);
Tailwind
colors: {
  custom: {
    50: '#9971d8',
    500: '#6335c6',
    950: '#000000',
  },
}
SCSS
$custom: #6335c6;
$custom-light: #9971d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6335c6",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 259.034,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47638,
    "c": 0.20906,
    "h": 290.7
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#6335C6
secondary
#B8CD8A
accent
#E147B0
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6335C6

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

Preview Lab → · Contrast checker → · Palette generator →

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