#6337B9#6337B9

#6337B9 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.192 H 293.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6337B9
RGBrgb(99, 55, 185)
HSLhsl(260, 54%, 47%)
HSVhsv(260, 70%, 73%)
CMYKcmyk(46.5%, 70.3%, 0%, 27.5%)
CIE-LABlab(35.77, 48.66, -61.68)
CIE-LCHlch(35.77, 78.57, 308.27°)
OKLaboklab(46.77% 0.0749 -0.1767)
OKLCHoklch(46.77% 0.192 293)
XYZxyz(15.2663, 8.8873, 46.8006)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337B9 #8DB937
analogous
#374CB9 #6337B9 #A437B9
triadic
#6337B9 #B96337 #37B963
tetradic
#6337B9 #B9374C #8DB937 #37B9A4
square
#6337B9 #B9374C #8DB937 #37B9A4
split-complementary
#6337B9 #B9A437 #4CB937
monochromatic
#311B5B #4A298A #6337B9 #845ECF #A88DDD

Accessibility & contrast

On white

7.56
#6337B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6337B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337B9
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337B9#FFFFFF#000000##FFFFFF
##6337B91.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#495874
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6337b9;
/* rgb */ color: rgb(99, 55, 185);
/* oklch */ color: oklch(46.8% 0.192 293.0);
Tailwind
colors: {
  custom: {
    50: '#9771cf',
    500: '#6337b9',
    950: '#000000',
  },
}
SCSS
$custom: #6337b9;
$custom-light: #9771cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6337b9",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 260.308,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46772,
    "c": 0.19194,
    "h": 293
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#6337B9
secondary
#B1C884
accent
#DE4AAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6337B9

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

Preview Lab → · Contrast checker → · Palette generator →

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