#6337CC#6337CC

#6337CC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.214 H 289.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6337CC
RGBrgb(99, 55, 204)
HSLhsl(258, 59%, 51%)
HSVhsv(258, 73%, 80%)
CMYKcmyk(51.5%, 73%, 0%, 20%)
CIE-LABlab(37.38, 53.87, -70.17)
CIE-LCHlch(37.38, 88.46, 307.51°)
OKLaboklab(48.41% 0.071 -0.2016)
OKLCHoklch(48.41% 0.214 289.4)
XYZxyz(17.4077, 9.7439, 58.0786)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337CC #A0CC37
analogous
#3755CC #6337CC #AD37CC
triadic
#6337CC #CC6337 #37CC63
tetradic
#6337CC #CC3755 #A0CC37 #37CCAD
square
#6337CC #CC3755 #A0CC37 #37CCAD
split-complementary
#6337CC #CCAD37 #55CC37
monochromatic
#341C6D #4B289E #6337CC #8968D8 #AF99E5

Accessibility & contrast

On white

7.12
#6337CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6337CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337CC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337CC#FFFFFF#000000##FFFFFF
##6337CC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#3C5F7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6337cc;
/* rgb */ color: rgb(99, 55, 204);
/* oklch */ color: oklch(48.4% 0.214 289.4);
Tailwind
colors: {
  custom: {
    50: '#9972dd',
    500: '#6337cc',
    950: '#000000',
  },
}
SCSS
$custom: #6337cc;
$custom-light: #9972dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6337cc",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 257.718,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48412,
    "c": 0.21372,
    "h": 289.4
  },
  "luminance": 0.09745
}

Semantic roles & 50–950 ramp

primary
#6337CC
secondary
#BDD08E
accent
#E345B4
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6337CC

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

Preview Lab → · Contrast checker → · Palette generator →

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