#6336BD#6336BD

#6336BD is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.198 H 292.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6336BD
RGBrgb(99, 54, 189)
HSLhsl(260, 56%, 48%)
HSVhsv(260, 71%, 74%)
CMYKcmyk(47.6%, 71.4%, 0%, 25.9%)
CIE-LABlab(35.92, 50.26, -63.80)
CIE-LCHlch(35.92, 81.21, 308.23°)
OKLaboklab(46.98% 0.0751 -0.1829)
OKLCHoklch(46.98% 0.198 292.3)
XYZxyz(15.6475, 8.9646, 49.0401)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336BD #90BD36
analogous
#364CBD #6336BD #A736BD
triadic
#6336BD #BD6336 #36BD63
tetradic
#6336BD #BD364C #90BD36 #36BDA7
square
#6336BD #BD364C #90BD36 #36BDA7
split-complementary
#6336BD #BDA736 #4CBD36
monochromatic
#311B5E #4A288D #6336BD #855FD1 #A98FDF

Accessibility & contrast

On white

7.52
#6336BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6336BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336BD
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336BD#FFFFFF#000000##FFFFFF
##6336BD1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#475976
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6336bd;
/* rgb */ color: rgb(99, 54, 189);
/* oklch */ color: oklch(47.0% 0.198 292.3);
Tailwind
colors: {
  custom: {
    50: '#9871d2',
    500: '#6336bd',
    950: '#000000',
  },
}
SCSS
$custom: #6336bd;
$custom-light: #9871d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6336bd",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 260,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46981,
    "c": 0.19772,
    "h": 292.3
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#6336BD
secondary
#B3C985
accent
#DF49AD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6336BD

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

Preview Lab → · Contrast checker → · Palette generator →

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