#6335AA#6335AA

#6335AA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.177 H 296.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6335AA
RGBrgb(99, 53, 170)
HSLhsl(264, 52%, 44%)
HSVhsv(264, 69%, 67%)
CMYKcmyk(41.8%, 68.8%, 0%, 33.3%)
CIE-LABlab(34.19, 45.64, -55.33)
CIE-LCHlch(34.19, 71.73, 309.51°)
OKLaboklab(45.27% 0.0795 -0.158)
OKLCHoklch(45.27% 0.177 296.7)
XYZxyz(13.6725, 8.1009, 38.8657)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335AA #7CAA35
analogous
#3541AA #6335AA #9D35AA
triadic
#6335AA #AA6335 #35AA63
tetradic
#6335AA #AA3541 #7CAA35 #35AA9D
square
#6335AA #AA3541 #7CAA35 #35AA9D
split-complementary
#6335AA #AA9D35 #41AA35
monochromatic
#2D184D #48267B #6335AA #8153C9 #A382D8

Accessibility & contrast

On white

8.01
#6335AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6335AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6335AA#FFFFFF#000000##FFFFFF
##6335AA1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#51516B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6335aa;
/* rgb */ color: rgb(99, 53, 170);
/* oklch */ color: oklch(45.3% 0.177 296.7);
Tailwind
colors: {
  custom: {
    50: '#9570c4',
    500: '#6335aa',
    950: '#000000',
  },
}
SCSS
$custom: #6335aa;
$custom-light: #9570c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6335aa",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 263.59,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.17691,
    "h": 296.7
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#6335AA
secondary
#A5C17A
accent
#DC4CA3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6335AA

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

Preview Lab → · Contrast checker → · Palette generator →

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