#6336B6#6336B6

#6336B6 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.190 H 293.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6336B6
RGBrgb(99, 54, 182)
HSLhsl(261, 54%, 46%)
HSVhsv(261, 70%, 71%)
CMYKcmyk(45.6%, 70.3%, 0%, 28.6%)
CIE-LABlab(35.34, 48.36, -60.61)
CIE-LCHlch(35.34, 77.54, 308.58°)
OKLaboklab(46.39% 0.0765 -0.1736)
OKLCHoklch(46.39% 0.19 293.8)
XYZxyz(14.9059, 8.6679, 45.1346)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336B6 #89B636
analogous
#3649B6 #6336B6 #A336B6
triadic
#6336B6 #B66336 #36B663
tetradic
#6336B6 #B63649 #89B636 #36B6A3
square
#6336B6 #B63649 #89B636 #36B6A3
split-complementary
#6336B6 #B6A336 #49B636
monochromatic
#301A58 #492887 #6336B6 #835BCE #A78ADC

Accessibility & contrast

On white

7.68
#6336B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6336B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336B6
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336B6#FFFFFF#000000##FFFFFF
##6336B61.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#4B5672
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6336b6;
/* rgb */ color: rgb(99, 54, 182);
/* oklch */ color: oklch(46.4% 0.190 293.8);
Tailwind
colors: {
  custom: {
    50: '#9771cd',
    500: '#6336b6',
    950: '#000000',
  },
}
SCSS
$custom: #6336b6;
$custom-light: #9771cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6336b6",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 261.094,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4639,
    "c": 0.18965,
    "h": 293.8
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6336B6

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

Preview Lab → · Contrast checker → · Palette generator →

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