#6337D5#6337D5

#6337D5 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.224 H 287.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6337D5
RGBrgb(99, 55, 213)
HSLhsl(257, 65%, 53%)
HSVhsv(257, 74%, 84%)
CMYKcmyk(53.5%, 74.2%, 0%, 16.5%)
CIE-LABlab(38.18, 56.34, -74.06)
CIE-LCHlch(38.18, 93.05, 307.26°)
OKLaboklab(49.22% 0.0688 -0.213)
OKLCHoklch(49.22% 0.224 287.9)
XYZxyz(18.5185, 10.1882, 63.9286)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337D5 #A9D537
analogous
#375AD5 #6337D5 #B237D5
triadic
#6337D5 #D56337 #37D563
tetradic
#6337D5 #D5375A #A9D537 #37D5B2
square
#6337D5 #D5375A #A9D537 #37D5B2
split-complementary
#6337D5 #D5B237 #5AD537
monochromatic
#341978 #4924AB #6337D5 #8A6AE0 #B29CEA

Accessibility & contrast

On white

6.91
#6337D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6337D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6337D5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337D5#FFFFFF#000000##FFFFFF
##6337D51.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDA
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#346384
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6337d5;
/* rgb */ color: rgb(99, 55, 213);
/* oklch */ color: oklch(49.2% 0.224 287.9);
Tailwind
colors: {
  custom: {
    50: '#9b72e3',
    500: '#6337d5',
    950: '#000000',
  },
}
SCSS
$custom: #6337d5;
$custom-light: #9b72e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6337d5",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 213
  },
  "hsl": {
    "h": 256.709,
    "s": 65.289,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4922,
    "c": 0.22384,
    "h": 287.9
  },
  "luminance": 0.10189
}

Semantic roles & 50–950 ramp

primary
#6337D5
secondary
#C3D692
accent
#E840B9
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6337D5

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

Preview Lab → · Contrast checker → · Palette generator →

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