#6335DF#6335DF

#6335DF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.237 H 286.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6335DF
RGBrgb(99, 53, 223)
HSLhsl(256, 73%, 54%)
HSVhsv(256, 76%, 87%)
CMYKcmyk(55.6%, 76.2%, 0%, 12.5%)
CIE-LABlab(38.77, 60.00, -78.83)
CIE-LCHlch(38.77, 99.06, 307.27°)
OKLaboklab(49.91% 0.0676 -0.2269)
OKLCHoklch(49.91% 0.237 286.6)
XYZxyz(19.7340, 10.5255, 70.7895)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335DF #B1DF35
analogous
#355CDF #6335DF #B835DF
triadic
#6335DF #DF6335 #35DF63
tetradic
#6335DF #DF355C #B1DF35 #35DFB8
square
#6335DF #DF355C #B1DF35 #35DFB8
split-complementary
#6335DF #DFB835 #5CDF35
monochromatic
#331585 #481DB9 #6335DF #8C6AE7 #B59FF0

Accessibility & contrast

On white

6.76
#6335DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6335DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6335DF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335DF#FFFFFF#000000##FFFFFF
##6335DF1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE4
Deuteranopia (green-blind)
#0056DC
Tritanopia (blue-blind)
#296689
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6335df;
/* rgb */ color: rgb(99, 53, 223);
/* oklch */ color: oklch(49.9% 0.237 286.6);
Tailwind
colors: {
  custom: {
    50: '#9c72ea',
    500: '#6335df',
    950: '#000000',
  },
}
SCSS
$custom: #6335df;
$custom-light: #9c72ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6335df",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 223
  },
  "hsl": {
    "h": 256.235,
    "s": 72.65,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49912,
    "c": 0.2368,
    "h": 286.6
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#6335DF
secondary
#C8DC94
accent
#EF38BE
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6335DF

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

Preview Lab → · Contrast checker → · Palette generator →

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