#6335CE#6335CE

#6335CE is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.218 H 289.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6335CE
RGBrgb(99, 53, 206)
HSLhsl(258, 61%, 51%)
HSVhsv(258, 74%, 81%)
CMYKcmyk(51.9%, 74.3%, 0%, 19.2%)
CIE-LABlab(37.21, 55.38, -71.60)
CIE-LCHlch(37.21, 90.51, 307.72°)
OKLaboklab(48.35% 0.0721 -0.2058)
OKLCHoklch(48.35% 0.218 289.3)
XYZxyz(17.5560, 9.6543, 59.3190)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335CE #A0CE35
analogous
#3553CE #6335CE #AF35CE
triadic
#6335CE #CE6335 #35CE63
tetradic
#6335CE #CE3553 #A0CE35 #35CEAF
square
#6335CE #CE3553 #A0CE35 #35CEAF
split-complementary
#6335CE #CEAF35 #53CE35
monochromatic
#341B6E #4B279F #6335CE #8966DA #AF98E6

Accessibility & contrast

On white

7.16
#6335CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6335CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335CE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335CE#FFFFFF#000000##FFFFFF
##6335CE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#3B5F7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6335ce;
/* rgb */ color: rgb(99, 53, 206);
/* oklch */ color: oklch(48.4% 0.218 289.3);
Tailwind
colors: {
  custom: {
    50: '#9a71de',
    500: '#6335ce',
    950: '#000000',
  },
}
SCSS
$custom: #6335ce;
$custom-light: #9a71de;
$custom-dark: #000000;
JSON
{
  "hex": "#6335ce",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 206
  },
  "hsl": {
    "h": 258.039,
    "s": 60.956,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48351,
    "c": 0.21803,
    "h": 289.3
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#6335CE
secondary
#BDD18D
accent
#E444B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6335CE

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

Preview Lab → · Contrast checker → · Palette generator →

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