#6337BC#6337BC

#6337BC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.195 H 292.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6337BC
RGBrgb(99, 55, 188)
HSLhsl(260, 55%, 48%)
HSVhsv(260, 71%, 74%)
CMYKcmyk(47.3%, 70.7%, 0%, 26.3%)
CIE-LABlab(36.01, 49.48, -63.05)
CIE-LCHlch(36.01, 80.15, 308.12°)
OKLaboklab(47.03% 0.0744 -0.1807)
OKLCHoklch(47.03% 0.195 292.4)
XYZxyz(15.5863, 9.0153, 48.4861)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337BC #90BC37
analogous
#374DBC #6337BC #A637BC
triadic
#6337BC #BC6337 #37BC63
tetradic
#6337BC #BC374D #90BC37 #37BCA6
square
#6337BC #BC374D #90BC37 #37BCA6
split-complementary
#6337BC #BCA637 #4DBC37
monochromatic
#311B5D #4A298D #6337BC #8560D0 #A98FDE

Accessibility & contrast

On white

7.49
#6337BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6337BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337BC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337BC#FFFFFF#000000##FFFFFF
##6337BC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#475976
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6337bc;
/* rgb */ color: rgb(99, 55, 188);
/* oklch */ color: oklch(47.0% 0.195 292.4);
Tailwind
colors: {
  custom: {
    50: '#9771d1',
    500: '#6337bc',
    950: '#000000',
  },
}
SCSS
$custom: #6337bc;
$custom-light: #9771d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6337bc",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 259.85,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47025,
    "c": 0.19542,
    "h": 292.4
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#6337BC
secondary
#B3C986
accent
#DE4AAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6337BC

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

Preview Lab → · Contrast checker → · Palette generator →

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