#6335C7#6335C7

#6335C7 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.210 H 290.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6335C7
RGBrgb(99, 53, 199)
HSLhsl(259, 58%, 49%)
HSVhsv(259, 73%, 78%)
CMYKcmyk(50.3%, 73.4%, 0%, 22%)
CIE-LABlab(36.60, 53.47, -68.54)
CIE-LCHlch(36.60, 86.93, 307.96°)
OKLaboklab(47.73% 0.0738 -0.1968)
OKLCHoklch(47.73% 0.21 290.5)
XYZxyz(16.7245, 9.3217, 54.9398)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335C7 #99C735
analogous
#3550C7 #6335C7 #AC35C7
triadic
#6335C7 #C76335 #35C763
tetradic
#6335C7 #C73550 #99C735 #35C7AC
square
#6335C7 #C73550 #99C735 #35C7AC
split-complementary
#6335C7 #C7AC35 #50C735
monochromatic
#331B66 #4B2897 #6335C7 #8864D6 #AD94E2

Accessibility & contrast

On white

7.33
#6335C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6335C7
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335C7#FFFFFF#000000##FFFFFF
##6335C71.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#405C7B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6335c7;
/* rgb */ color: rgb(99, 53, 199);
/* oklch */ color: oklch(47.7% 0.210 290.5);
Tailwind
colors: {
  custom: {
    50: '#9971d9',
    500: '#6335c7',
    950: '#000000',
  },
}
SCSS
$custom: #6335c7;
$custom-light: #9971d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6335c7",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 258.904,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.21019,
    "h": 290.5
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6335C7

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

Preview Lab → · Contrast checker → · Palette generator →

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