#6337CA#6337CA

#6337CA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.211 H 289.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6337CA
RGBrgb(99, 55, 202)
HSLhsl(258, 58%, 50%)
HSVhsv(258, 73%, 79%)
CMYKcmyk(51%, 72.8%, 0%, 20.8%)
CIE-LABlab(37.20, 53.32, -69.29)
CIE-LCHlch(37.20, 87.43, 307.58°)
OKLaboklab(48.24% 0.0714 -0.199)
OKLCHoklch(48.24% 0.211 289.7)
XYZxyz(17.1694, 9.6485, 56.8233)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337CA #9ECA37
analogous
#3754CA #6337CA #AC37CA
triadic
#6337CA #CA6337 #37CA63
tetradic
#6337CA #CA3754 #9ECA37 #37CAAC
square
#6337CA #CA3754 #9ECA37 #37CAAC
split-complementary
#6337CA #CAAC37 #54CA37
monochromatic
#341C6A #4B299B #6337CA #8967D7 #AE98E4

Accessibility & contrast

On white

7.17
#6337CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6337CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337CA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337CA#FFFFFF#000000##FFFFFF
##6337CA1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#3E5E7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6337ca;
/* rgb */ color: rgb(99, 55, 202);
/* oklch */ color: oklch(48.2% 0.211 289.7);
Tailwind
colors: {
  custom: {
    50: '#9972db',
    500: '#6337ca',
    950: '#000000',
  },
}
SCSS
$custom: #6337ca;
$custom-light: #9972db;
$custom-dark: #000000;
JSON
{
  "hex": "#6337ca",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 257.959,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.21145,
    "h": 289.7
  },
  "luminance": 0.09649
}

Semantic roles & 50–950 ramp

primary
#6337CA
secondary
#BCCF8E
accent
#E146B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6337CA

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

Preview Lab → · Contrast checker → · Palette generator →

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