#6336B8#6336B8

#6336B8 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.192 H 293.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6336B8
RGBrgb(99, 54, 184)
HSLhsl(261, 55%, 47%)
HSVhsv(261, 71%, 72%)
CMYKcmyk(46.2%, 70.7%, 0%, 27.8%)
CIE-LABlab(35.50, 48.90, -61.53)
CIE-LCHlch(35.50, 78.59, 308.48°)
OKLaboklab(46.56% 0.0761 -0.1762)
OKLCHoklch(46.56% 0.192 293.3)
XYZxyz(15.1141, 8.7512, 46.2309)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336B8 #8BB836
analogous
#364AB8 #6336B8 #A436B8
triadic
#6336B8 #B86336 #36B863
tetradic
#6336B8 #B8364A #8BB836 #36B8A4
square
#6336B8 #B8364A #8BB836 #36B8A4
split-complementary
#6336B8 #B8A436 #4AB836
monochromatic
#301A59 #4A2889 #6336B8 #845CCF #A88BDD

Accessibility & contrast

On white

7.64
#6336B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6336B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336B8
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336B8#FFFFFF#000000##FFFFFF
##6336B81.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#4A5773
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6336b8;
/* rgb */ color: rgb(99, 54, 184);
/* oklch */ color: oklch(46.6% 0.192 293.3);
Tailwind
colors: {
  custom: {
    50: '#9771ce',
    500: '#6336b8',
    950: '#000000',
  },
}
SCSS
$custom: #6336b8;
$custom-light: #9771ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6336b8",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 260.769,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46557,
    "c": 0.19197,
    "h": 293.3
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#6336B8
secondary
#B0C782
accent
#DE4AAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6336B8

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

Preview Lab → · Contrast checker → · Palette generator →

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