#6337BF#6337BF

#6337BF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.199 H 291.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6337BF
RGBrgb(99, 55, 191)
HSLhsl(259, 55%, 48%)
HSVhsv(259, 71%, 75%)
CMYKcmyk(48.2%, 71.2%, 0%, 25.1%)
CIE-LABlab(36.26, 50.30, -64.40)
CIE-LCHlch(36.26, 81.72, 307.99°)
OKLaboklab(47.28% 0.0738 -0.1847)
OKLCHoklch(47.28% 0.199 291.8)
XYZxyz(15.9131, 9.1460, 50.2070)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337BF #93BF37
analogous
#374FBF #6337BF #A737BF
triadic
#6337BF #BF6337 #37BF63
tetradic
#6337BF #BF374F #93BF37 #37BFA7
square
#6337BF #BF374F #93BF37 #37BFA7
split-complementary
#6337BF #BFA737 #4FBF37
monochromatic
#321C60 #4A298F #6337BF #8662D2 #AA91DF

Accessibility & contrast

On white

7.42
#6337BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6337BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337BF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337BF#FFFFFF#000000##FFFFFF
##6337BF1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.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: #6337bf;
/* rgb */ color: rgb(99, 55, 191);
/* oklch */ color: oklch(47.3% 0.199 291.8);
Tailwind
colors: {
  custom: {
    50: '#9872d3',
    500: '#6337bf',
    950: '#000000',
  },
}
SCSS
$custom: #6337bf;
$custom-light: #9872d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6337bf",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 259.412,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4728,
    "c": 0.19888,
    "h": 291.8
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6337BF

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

Preview Lab → · Contrast checker → · Palette generator →

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