#6337BA#6337BA

#6337BA is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.193 H 292.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6337BA
RGBrgb(99, 55, 186)
HSLhsl(260, 54%, 47%)
HSVhsv(260, 70%, 73%)
CMYKcmyk(46.8%, 70.4%, 0%, 27.1%)
CIE-LABlab(35.85, 48.93, -62.14)
CIE-LCHlch(35.85, 79.09, 308.22°)
OKLaboklab(46.86% 0.0748 -0.1781)
OKLCHoklch(46.86% 0.193 292.8)
XYZxyz(15.3722, 8.9297, 47.3585)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337BA #8EBA37
analogous
#374CBA #6337BA #A537BA
triadic
#6337BA #BA6337 #37BA63
tetradic
#6337BA #BA374C #8EBA37 #37BAA5
square
#6337BA #BA374C #8EBA37 #37BAA5
split-complementary
#6337BA #BAA537 #4CBA37
monochromatic
#311B5C #4A298B #6337BA #855FD0 #A98EDE

Accessibility & contrast

On white

7.54
#6337BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6337BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337BA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337BA#FFFFFF#000000##FFFFFF
##6337BA1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#495874
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6337ba;
/* rgb */ color: rgb(99, 55, 186);
/* oklch */ color: oklch(46.9% 0.193 292.8);
Tailwind
colors: {
  custom: {
    50: '#9771d0',
    500: '#6337ba',
    950: '#000000',
  },
}
SCSS
$custom: #6337ba;
$custom-light: #9771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6337ba",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 260.153,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46856,
    "c": 0.1931,
    "h": 292.8
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#6337BA
secondary
#B1C885
accent
#DE4AAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6337BA

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

Preview Lab → · Contrast checker → · Palette generator →

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