#6336B9#6336B9

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

Color values

HEX#6336B9
RGBrgb(99, 54, 185)
HSLhsl(261, 55%, 47%)
HSVhsv(261, 71%, 73%)
CMYKcmyk(46.5%, 70.8%, 0%, 27.5%)
CIE-LABlab(35.58, 49.17, -61.98)
CIE-LCHlch(35.58, 79.12, 308.42°)
OKLaboklab(46.64% 0.0759 -0.1776)
OKLCHoklch(46.64% 0.193 293.1)
XYZxyz(15.2193, 8.7933, 46.7849)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336B9 #8CB936
analogous
#364AB9 #6336B9 #A536B9
triadic
#6336B9 #B96336 #36B963
tetradic
#6336B9 #B9364A #8CB936 #36B9A5
square
#6336B9 #B9364A #8CB936 #36B9A5
split-complementary
#6336B9 #B9A536 #4AB936
monochromatic
#301A5A #4A288A #6336B9 #845DD0 #A88CDD

Accessibility & contrast

On white

7.61
#6336B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6336B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336B9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336B9#FFFFFF#000000##FFFFFF
##6336B91.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#495774
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6336b9;
/* rgb */ color: rgb(99, 54, 185);
/* oklch */ color: oklch(46.6% 0.193 293.1);
Tailwind
colors: {
  custom: {
    50: '#9771cf',
    500: '#6336b9',
    950: '#000000',
  },
}
SCSS
$custom: #6336b9;
$custom-light: #9771cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6336b9",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 260.611,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46642,
    "c": 0.19311,
    "h": 293.1
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6336B9

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

Preview Lab → · Contrast checker → · Palette generator →

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