#6335CD#6335CD

#6335CD is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.217 H 289.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6335CD
RGBrgb(99, 53, 205)
HSLhsl(258, 60%, 51%)
HSVhsv(258, 74%, 80%)
CMYKcmyk(51.7%, 74.1%, 0%, 19.6%)
CIE-LABlab(37.13, 55.11, -71.16)
CIE-LCHlch(37.13, 90.00, 307.75°)
OKLaboklab(48.26% 0.0723 -0.2045)
OKLCHoklch(48.26% 0.217 289.5)
XYZxyz(17.4349, 9.6058, 58.6812)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335CD #9FCD35
analogous
#3553CD #6335CD #AF35CD
triadic
#6335CD #CD6335 #35CD63
tetradic
#6335CD #CD3553 #9FCD35 #35CDAF
square
#6335CD #CD3553 #9FCD35 #35CDAF
split-complementary
#6335CD #CDAF35 #53CD35
monochromatic
#341B6D #4B279E #6335CD #8966D9 #AF97E5

Accessibility & contrast

On white

7.19
#6335CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6335CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335CD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335CD#FFFFFF#000000##FFFFFF
##6335CD1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#3C5F7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6335cd;
/* rgb */ color: rgb(99, 53, 205);
/* oklch */ color: oklch(48.3% 0.217 289.5);
Tailwind
colors: {
  custom: {
    50: '#9a71dd',
    500: '#6335cd',
    950: '#000000',
  },
}
SCSS
$custom: #6335cd;
$custom-light: #9a71dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6335cd",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 258.158,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.21692,
    "h": 289.5
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#6335CD
secondary
#BCD18D
accent
#E344B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6335CD

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

Preview Lab → · Contrast checker → · Palette generator →

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