#6335AD#6335AD

#6335AD is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.180 H 296.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6335AD
RGBrgb(99, 53, 173)
HSLhsl(263, 53%, 44%)
HSVhsv(263, 69%, 68%)
CMYKcmyk(42.8%, 69.4%, 0%, 32.2%)
CIE-LABlab(34.43, 46.44, -56.74)
CIE-LCHlch(34.43, 73.33, 309.30°)
OKLaboklab(45.52% 0.079 -0.1622)
OKLCHoklch(45.52% 0.18 296)
XYZxyz(13.9595, 8.2157, 40.3774)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335AD #7FAD35
analogous
#3543AD #6335AD #9F35AD
triadic
#6335AD #AD6335 #35AD63
tetradic
#6335AD #AD3543 #7FAD35 #35AD9F
square
#6335AD #AD3543 #7FAD35 #35AD9F
split-complementary
#6335AD #AD9F35 #43AD35
monochromatic
#2D184F #48277E #6335AD #8254CB #A483D9

Accessibility & contrast

On white

7.94
#6335AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6335AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6335AD#FFFFFF#000000##FFFFFF
##6335AD1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#50526D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6335ad;
/* rgb */ color: rgb(99, 53, 173);
/* oklch */ color: oklch(45.5% 0.180 296.0);
Tailwind
colors: {
  custom: {
    50: '#9670c6',
    500: '#6335ad',
    950: '#000000',
  },
}
SCSS
$custom: #6335ad;
$custom-light: #9670c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6335ad",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 263,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45516,
    "c": 0.18042,
    "h": 296
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6335AD

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

Preview Lab → · Contrast checker → · Palette generator →

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