#6336BF#6336BF

#6336BF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.2% C 0.200 H 291.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6336BF
RGBrgb(99, 54, 191)
HSLhsl(260, 56%, 48%)
HSVhsv(260, 72%, 75%)
CMYKcmyk(48.2%, 71.7%, 0%, 25.1%)
CIE-LABlab(36.08, 50.80, -64.70)
CIE-LCHlch(36.08, 82.26, 308.14°)
OKLaboklab(47.15% 0.0747 -0.1855)
OKLCHoklch(47.15% 0.2 291.9)
XYZxyz(15.8661, 9.0520, 50.1913)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336BF #92BF36
analogous
#364EBF #6336BF #A736BF
triadic
#6336BF #BF6336 #36BF63
tetradic
#6336BF #BF364E #92BF36 #36BFA7
square
#6336BF #BF364E #92BF36 #36BFA7
split-complementary
#6336BF #BFA736 #4EBF36
monochromatic
#321B60 #4A298F #6336BF #8660D2 #AA90E0

Accessibility & contrast

On white

7.47
#6336BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6336BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336BF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336BF#FFFFFF#000000##FFFFFF
##6336BF1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#465A77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6336bf;
/* rgb */ color: rgb(99, 54, 191);
/* oklch */ color: oklch(47.2% 0.200 291.9);
Tailwind
colors: {
  custom: {
    50: '#9871d3',
    500: '#6336bf',
    950: '#000000',
  },
}
SCSS
$custom: #6336bf;
$custom-light: #9871d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6336bf",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 259.708,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47152,
    "c": 0.20001,
    "h": 291.9
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#6336BF
secondary
#B4CA87
accent
#DF49AE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6336BF

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

Preview Lab → · Contrast checker → · Palette generator →

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