#6337CF#6337CF

#6337CF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.217 H 288.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6337CF
RGBrgb(99, 55, 207)
HSLhsl(257, 61%, 51%)
HSVhsv(257, 73%, 81%)
CMYKcmyk(52.2%, 73.4%, 0%, 18.8%)
CIE-LABlab(37.64, 54.69, -71.47)
CIE-LCHlch(37.64, 90.00, 307.42°)
OKLaboklab(48.68% 0.0703 -0.2054)
OKLCHoklch(48.68% 0.217 288.9)
XYZxyz(17.7710, 9.8892, 59.9918)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337CF #A3CF37
analogous
#3757CF #6337CF #AF37CF
triadic
#6337CF #CF6337 #37CF63
tetradic
#6337CF #CF3757 #A3CF37 #37CFAF
square
#6337CF #CF3757 #A3CF37 #37CFAF
split-complementary
#6337CF #CFAF37 #57CF37
monochromatic
#341B71 #4A27A2 #6337CF #8968DB #B09AE7

Accessibility & contrast

On white

7.05
#6337CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6337CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337CF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337CF#FFFFFF#000000##FFFFFF
##6337CF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#3A6080
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6337cf;
/* rgb */ color: rgb(99, 55, 207);
/* oklch */ color: oklch(48.7% 0.217 288.9);
Tailwind
colors: {
  custom: {
    50: '#9a72df',
    500: '#6337cf',
    950: '#000000',
  },
}
SCSS
$custom: #6337cf;
$custom-light: #9a72df;
$custom-dark: #000000;
JSON
{
  "hex": "#6337cf",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 257.368,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.21711,
    "h": 288.9
  },
  "luminance": 0.0989
}

Semantic roles & 50–950 ramp

primary
#6337CF
secondary
#BFD28F
accent
#E443B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6337CF

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

Preview Lab → · Contrast checker → · Palette generator →

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