#6336B7#6336B7

#6336B7 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.191 H 293.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#6336B7
RGBrgb(99, 54, 183)
HSLhsl(261, 54%, 46%)
HSVhsv(261, 70%, 72%)
CMYKcmyk(45.9%, 70.5%, 0%, 28.2%)
CIE-LABlab(35.42, 48.63, -61.07)
CIE-LCHlch(35.42, 78.07, 308.53°)
OKLaboklab(46.47% 0.0763 -0.1749)
OKLCHoklch(46.47% 0.191 293.6)
XYZxyz(15.0097, 8.7094, 45.6808)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336B7 #8AB736
analogous
#364AB7 #6336B7 #A436B7
triadic
#6336B7 #B76336 #36B763
tetradic
#6336B7 #B7364A #8AB736 #36B7A4
square
#6336B7 #B7364A #8AB736 #36B7A4
split-complementary
#6336B7 #B7A436 #4AB736
monochromatic
#301A58 #492888 #6336B7 #845BCF #A78BDD

Accessibility & contrast

On white

7.66
#6336B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6336B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336B7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336B7#FFFFFF#000000##FFFFFF
##6336B71.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6336b7;
/* rgb */ color: rgb(99, 54, 183);
/* oklch */ color: oklch(46.5% 0.191 293.6);
Tailwind
colors: {
  custom: {
    50: '#9771ce',
    500: '#6336b7',
    950: '#000000',
  },
}
SCSS
$custom: #6336b7;
$custom-light: #9771ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6336b7",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 260.93,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46473,
    "c": 0.19081,
    "h": 293.6
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#6336B7
secondary
#AFC782
accent
#DE4AAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6336B7

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

Preview Lab → · Contrast checker → · Palette generator →

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