#6337B5#6337B5

#6337B5 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.187 H 293.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6337B5
RGBrgb(99, 55, 181)
HSLhsl(261, 53%, 46%)
HSVhsv(261, 70%, 71%)
CMYKcmyk(45.3%, 69.6%, 0%, 29%)
CIE-LABlab(35.44, 47.57, -59.85)
CIE-LCHlch(35.44, 76.45, 308.48°)
OKLaboklab(46.44% 0.0757 -0.1713)
OKLCHoklch(46.44% 0.187 293.8)
XYZxyz(14.8500, 8.7208, 44.6080)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337B5 #89B537
analogous
#374AB5 #6337B5 #A237B5
triadic
#6337B5 #B56337 #37B563
tetradic
#6337B5 #B5374A #89B537 #37B5A2
square
#6337B5 #B5374A #89B537 #37B5A2
split-complementary
#6337B5 #B5A237 #4AB537
monochromatic
#301A57 #492986 #6337B5 #835CCD #A78BDC

Accessibility & contrast

On white

7.65
#6337B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6337B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337B5
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337B5#FFFFFF#000000##FFFFFF
##6337B51.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#4B5672
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6337b5;
/* rgb */ color: rgb(99, 55, 181);
/* oklch */ color: oklch(46.4% 0.187 293.8);
Tailwind
colors: {
  custom: {
    50: '#9671cc',
    500: '#6337b5',
    950: '#000000',
  },
}
SCSS
$custom: #6337b5;
$custom-light: #9671cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6337b5",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 260.952,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46439,
    "c": 0.18728,
    "h": 293.8
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#6337B5
secondary
#AEC682
accent
#DD4BAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6337B5

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

Preview Lab → · Contrast checker → · Palette generator →

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