#6337B8#6337B8

#6337B8 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.191 H 293.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6337B8
RGBrgb(99, 55, 184)
HSLhsl(260, 54%, 47%)
HSVhsv(260, 70%, 72%)
CMYKcmyk(46.2%, 70.1%, 0%, 27.8%)
CIE-LABlab(35.68, 48.39, -61.23)
CIE-LCHlch(35.68, 78.04, 308.32°)
OKLaboklab(46.69% 0.0751 -0.1754)
OKLCHoklch(46.69% 0.191 293.2)
XYZxyz(15.1611, 8.8452, 46.2466)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337B8 #8CB837
analogous
#374CB8 #6337B8 #A437B8
triadic
#6337B8 #B86337 #37B863
tetradic
#6337B8 #B8374C #8CB837 #37B8A4
square
#6337B8 #B8374C #8CB837 #37B8A4
split-complementary
#6337B8 #B8A437 #4CB837
monochromatic
#301B5A #4A2989 #6337B8 #845DCF #A88DDD

Accessibility & contrast

On white

7.58
#6337B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6337B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337B8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337B8#FFFFFF#000000##FFFFFF
##6337B81.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#4A5873
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6337b8;
/* rgb */ color: rgb(99, 55, 184);
/* oklch */ color: oklch(46.7% 0.191 293.2);
Tailwind
colors: {
  custom: {
    50: '#9771ce',
    500: '#6337b8',
    950: '#000000',
  },
}
SCSS
$custom: #6337b8;
$custom-light: #9771ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6337b8",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 260.465,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.19078,
    "h": 293.2
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#6337B8
secondary
#B0C784
accent
#DD4AAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6337B8

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

Preview Lab → · Contrast checker → · Palette generator →

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