#6335DA#6335DA

#6335DA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.231 H 287.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6335DA
RGBrgb(99, 53, 218)
HSLhsl(257, 69%, 53%)
HSVhsv(257, 76%, 85%)
CMYKcmyk(54.6%, 75.7%, 0%, 14.5%)
CIE-LABlab(38.30, 58.64, -76.73)
CIE-LCHlch(38.30, 96.57, 307.39°)
OKLaboklab(49.45% 0.069 -0.2208)
OKLCHoklch(49.45% 0.231 287.3)
XYZxyz(19.0698, 10.2598, 67.2916)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335DA #ACDA35
analogous
#3559DA #6335DA #B535DA
triadic
#6335DA #DA6335 #35DA63
tetradic
#6335DA #DA3559 #ACDA35 #35DAB5
square
#6335DA #DA3559 #ACDA35 #35DAB5
split-complementary
#6335DA #DAB535 #59DA35
monochromatic
#34177E #4920B1 #6335DA #8B69E3 #B39CED

Accessibility & contrast

On white

6.88
#6335DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6335DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6335DA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335DA#FFFFFF#000000##FFFFFF
##6335DA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDF
Deuteranopia (green-blind)
#0056D7
Tritanopia (blue-blind)
#2F6486
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6335da;
/* rgb */ color: rgb(99, 53, 218);
/* oklch */ color: oklch(49.4% 0.231 287.3);
Tailwind
colors: {
  custom: {
    50: '#9c72e7',
    500: '#6335da',
    950: '#000000',
  },
}
SCSS
$custom: #6335da;
$custom-light: #9c72e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6335da",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 218
  },
  "hsl": {
    "h": 256.727,
    "s": 69.038,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.23133,
    "h": 287.3
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#6335DA
secondary
#C5D992
accent
#EC3CBB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6335DA

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

Preview Lab → · Contrast checker → · Palette generator →

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