#6337C7#6337C7

#6337C7 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.208 H 290.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6337C7
RGBrgb(99, 55, 199)
HSLhsl(258, 57%, 50%)
HSVhsv(258, 72%, 78%)
CMYKcmyk(50.3%, 72.4%, 0%, 22%)
CIE-LABlab(36.94, 52.49, -67.97)
CIE-LCHlch(36.94, 85.88, 307.68°)
OKLaboklab(47.97% 0.0721 -0.1952)
OKLCHoklch(47.97% 0.208 290.3)
XYZxyz(16.8176, 9.5078, 54.9708)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337C7 #9BC737
analogous
#3753C7 #6337C7 #AB37C7
triadic
#6337C7 #C76337 #37C763
tetradic
#6337C7 #C73753 #9BC737 #37C7AB
square
#6337C7 #C73753 #9BC737 #37C7AB
split-complementary
#6337C7 #C7AB37 #53C737
monochromatic
#331C67 #4B2A97 #6337C7 #8866D5 #AD96E2

Accessibility & contrast

On white

7.24
#6337C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6337C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337C7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337C7#FFFFFF#000000##FFFFFF
##6337C71.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#405D7C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6337c7;
/* rgb */ color: rgb(99, 55, 199);
/* oklch */ color: oklch(48.0% 0.208 290.3);
Tailwind
colors: {
  custom: {
    50: '#9972d9',
    500: '#6337c7',
    950: '#000000',
  },
}
SCSS
$custom: #6337c7;
$custom-light: #9972d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6337c7",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 258.333,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47972,
    "c": 0.20805,
    "h": 290.3
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#6337C7
secondary
#BACD8C
accent
#E048B1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6337C7

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

Preview Lab → · Contrast checker → · Palette generator →

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