#6335AE#6335AE

#6335AE is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.182 H 295.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6335AE
RGBrgb(99, 53, 174)
HSLhsl(263, 53%, 45%)
HSVhsv(263, 70%, 68%)
CMYKcmyk(43.1%, 69.5%, 0%, 31.8%)
CIE-LABlab(34.51, 46.71, -57.21)
CIE-LCHlch(34.51, 73.86, 309.23°)
OKLaboklab(45.6% 0.0789 -0.1636)
OKLCHoklch(45.6% 0.182 295.7)
XYZxyz(14.0566, 8.2545, 40.8889)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335AE #80AE35
analogous
#3544AE #6335AE #A035AE
triadic
#6335AE #AE6335 #35AE63
tetradic
#6335AE #AE3544 #80AE35 #35AEA0
square
#6335AE #AE3544 #80AE35 #35AEA0
split-complementary
#6335AE #AEA035 #44AE35
monochromatic
#2E1850 #48277F #6335AE #8255CB #A484DA

Accessibility & contrast

On white

7.92
#6335AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6335AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335AE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335AE#FFFFFF#000000##FFFFFF
##6335AE1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#4F536D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6335ae;
/* rgb */ color: rgb(99, 53, 174);
/* oklch */ color: oklch(45.6% 0.182 295.7);
Tailwind
colors: {
  custom: {
    50: '#9670c7',
    500: '#6335ae',
    950: '#000000',
  },
}
SCSS
$custom: #6335ae;
$custom-light: #9670c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6335ae",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 262.81,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.18158,
    "h": 295.7
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#6335AE
secondary
#A8C37C
accent
#DD4BA5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6335AE

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

Preview Lab → · Contrast checker → · Palette generator →

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