#6337BB#6337BB

#6337BB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.194 H 292.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6337BB
RGBrgb(99, 55, 187)
HSLhsl(260, 55%, 47%)
HSVhsv(260, 71%, 73%)
CMYKcmyk(47.1%, 70.6%, 0%, 26.7%)
CIE-LABlab(35.93, 49.21, -62.59)
CIE-LCHlch(35.93, 79.62, 308.17°)
OKLaboklab(46.94% 0.0746 -0.1794)
OKLCHoklch(46.94% 0.194 292.6)
XYZxyz(15.4789, 8.9724, 47.9203)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337BB #8FBB37
analogous
#374DBB #6337BB #A537BB
triadic
#6337BB #BB6337 #37BB63
tetradic
#6337BB #BB374D #8FBB37 #37BBA5
square
#6337BB #BB374D #8FBB37 #37BBA5
split-complementary
#6337BB #BBA537 #4DBB37
monochromatic
#311B5C #4A298C #6337BB #855FD0 #A98EDE

Accessibility & contrast

On white

7.51
#6337BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6337BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337BB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337BB#FFFFFF#000000##FFFFFF
##6337BB1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#485975
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6337bb;
/* rgb */ color: rgb(99, 55, 187);
/* oklch */ color: oklch(46.9% 0.194 292.6);
Tailwind
colors: {
  custom: {
    50: '#9771d0',
    500: '#6337bb',
    950: '#000000',
  },
}
SCSS
$custom: #6337bb;
$custom-light: #9771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6337bb",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 260,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4694,
    "c": 0.19426,
    "h": 292.6
  },
  "luminance": 0.08973
}

Semantic roles & 50–950 ramp

primary
#6337BB
secondary
#B2C985
accent
#DE4AAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6337BB

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

Preview Lab → · Contrast checker → · Palette generator →

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