#6337BD#6337BD

#6337BD is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.197 H 292.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6337BD
RGBrgb(99, 55, 189)
HSLhsl(260, 55%, 48%)
HSVhsv(260, 71%, 74%)
CMYKcmyk(47.6%, 70.9%, 0%, 25.9%)
CIE-LABlab(36.10, 49.75, -63.50)
CIE-LCHlch(36.10, 80.67, 308.08°)
OKLaboklab(47.11% 0.0742 -0.182)
OKLCHoklch(47.11% 0.197 292.2)
XYZxyz(15.6945, 9.0586, 49.0558)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337BD #91BD37
analogous
#374EBD #6337BD #A637BD
triadic
#6337BD #BD6337 #37BD63
tetradic
#6337BD #BD374E #91BD37 #37BDA6
square
#6337BD #BD374E #91BD37 #37BDA6
split-complementary
#6337BD #BDA637 #4EBD37
monochromatic
#311B5E #4A298E #6337BD #8560D1 #AA90DF

Accessibility & contrast

On white

7.47
#6337BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6337BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337BD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337BD#FFFFFF#000000##FFFFFF
##6337BD1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#475976
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6337bd;
/* rgb */ color: rgb(99, 55, 189);
/* oklch */ color: oklch(47.1% 0.197 292.2);
Tailwind
colors: {
  custom: {
    50: '#9771d2',
    500: '#6337bd',
    950: '#000000',
  },
}
SCSS
$custom: #6337bd;
$custom-light: #9771d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6337bd",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 259.701,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4711,
    "c": 0.19658,
    "h": 292.2
  },
  "luminance": 0.09059
}

Semantic roles & 50–950 ramp

primary
#6337BD
secondary
#B3C986
accent
#DE4AAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6337BD

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

Preview Lab → · Contrast checker → · Palette generator →

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