#6337B6#6337B6

#6337B6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.188 H 293.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6337B6
RGBrgb(99, 55, 182)
HSLhsl(261, 54%, 46%)
HSVhsv(261, 70%, 71%)
CMYKcmyk(45.6%, 69.8%, 0%, 28.6%)
CIE-LABlab(35.52, 47.84, -60.31)
CIE-LCHlch(35.52, 76.98, 308.42°)
OKLaboklab(46.52% 0.0755 -0.1727)
OKLCHoklch(46.52% 0.188 293.6)
XYZxyz(14.9530, 8.7620, 45.1503)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337B6 #8AB637
analogous
#374BB6 #6337B6 #A337B6
triadic
#6337B6 #B66337 #37B663
tetradic
#6337B6 #B6374B #8AB637 #37B6A3
square
#6337B6 #B6374B #8AB637 #37B6A3
split-complementary
#6337B6 #B6A337 #4BB637
monochromatic
#301B58 #492987 #6337B6 #845CCE #A78BDC

Accessibility & contrast

On white

7.63
#6337B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6337B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337B6
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337B6#FFFFFF#000000##FFFFFF
##6337B61.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#4B5772
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6337b6;
/* rgb */ color: rgb(99, 55, 182);
/* oklch */ color: oklch(46.5% 0.188 293.6);
Tailwind
colors: {
  custom: {
    50: '#9771cd',
    500: '#6337b6',
    950: '#000000',
  },
}
SCSS
$custom: #6337b6;
$custom-light: #9771cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6337b6",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 260.787,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46522,
    "c": 0.18845,
    "h": 293.6
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#6337B6
secondary
#AFC682
accent
#DD4BAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6337B6

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

Preview Lab → · Contrast checker → · Palette generator →

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