#6336BA#6336BA

#6336BA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.194 H 292.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6336BA
RGBrgb(99, 54, 186)
HSLhsl(260, 55%, 47%)
HSVhsv(260, 71%, 73%)
CMYKcmyk(46.8%, 71%, 0%, 27.1%)
CIE-LABlab(35.67, 49.44, -62.44)
CIE-LCHlch(35.67, 79.64, 308.37°)
OKLaboklab(46.73% 0.0757 -0.1789)
OKLCHoklch(46.73% 0.194 292.9)
XYZxyz(15.3252, 8.8357, 47.3428)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336BA #8DBA36
analogous
#364BBA #6336BA #A536BA
triadic
#6336BA #BA6336 #36BA63
tetradic
#6336BA #BA364B #8DBA36 #36BAA5
square
#6336BA #BA364B #8DBA36 #36BAA5
split-complementary
#6336BA #BAA536 #4BBA36
monochromatic
#311A5B #4A288B #6336BA #845DD0 #A88DDE

Accessibility & contrast

On white

7.59
#6336BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6336BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336BA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336BA#FFFFFF#000000##FFFFFF
##6336BA1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#495874
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6336ba;
/* rgb */ color: rgb(99, 54, 186);
/* oklch */ color: oklch(46.7% 0.194 292.9);
Tailwind
colors: {
  custom: {
    50: '#9771d0',
    500: '#6336ba',
    950: '#000000',
  },
}
SCSS
$custom: #6336ba;
$custom-light: #9771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6336ba",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 260.455,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46726,
    "c": 0.19427,
    "h": 292.9
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#6336BA
secondary
#B1C884
accent
#DE49AC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6336BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6336BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva