#6335AC#6335AC

#6335AC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.179 H 296.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6335AC
RGBrgb(99, 53, 172)
HSLhsl(263, 53%, 44%)
HSVhsv(263, 69%, 67%)
CMYKcmyk(42.4%, 69.2%, 0%, 32.5%)
CIE-LABlab(34.35, 46.17, -56.28)
CIE-LCHlch(34.35, 72.79, 309.37°)
OKLaboklab(45.43% 0.0792 -0.1608)
OKLCHoklch(45.43% 0.179 296.2)
XYZxyz(13.8631, 8.1771, 39.8697)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335AC #7EAC35
analogous
#3543AC #6335AC #9F35AC
triadic
#6335AC #AC6335 #35AC63
tetradic
#6335AC #AC3543 #7EAC35 #35AC9F
square
#6335AC #AC3543 #7EAC35 #35AC9F
split-complementary
#6335AC #AC9F35 #43AC35
monochromatic
#2D184E #48277D #6335AC #8254CA #A483D9

Accessibility & contrast

On white

7.97
#6335AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6335AC#FFFFFF#000000##FFFFFF
##6335AC1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#50526C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6335ac;
/* rgb */ color: rgb(99, 53, 172);
/* oklch */ color: oklch(45.4% 0.179 296.2);
Tailwind
colors: {
  custom: {
    50: '#9670c6',
    500: '#6335ac',
    950: '#000000',
  },
}
SCSS
$custom: #6335ac;
$custom-light: #9670c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6335ac",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 263.193,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.17925,
    "h": 296.2
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#6335AC
secondary
#A7C27B
accent
#DC4CA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6335AC

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

Preview Lab → · Contrast checker → · Palette generator →

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