#6337DA#6337DA

#6337DA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.229 H 287.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6337DA
RGBrgb(99, 55, 218)
HSLhsl(256, 69%, 54%)
HSVhsv(256, 75%, 85%)
CMYKcmyk(54.6%, 74.8%, 0%, 14.5%)
CIE-LABlab(38.63, 57.71, -76.19)
CIE-LCHlch(38.63, 95.58, 307.14°)
OKLaboklab(49.68% 0.0675 -0.2192)
OKLCHoklch(49.68% 0.229 287.1)
XYZxyz(19.1629, 10.4460, 67.3226)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337DA #AEDA37
analogous
#375CDA #6337DA #B437DA
triadic
#6337DA #DA6337 #37DA63
tetradic
#6337DA #DA375C #AEDA37 #37DAB4
square
#6337DA #DA375C #AEDA37 #37DAB4
split-complementary
#6337DA #DAB437 #5CDA37
monochromatic
#33187F #4821B3 #6337DA #8B6BE4 #B49EED

Accessibility & contrast

On white

6.80
#6337DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6337DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6337DA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337DA#FFFFFF#000000##FFFFFF
##6337DA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDF
Deuteranopia (green-blind)
#0056D7
Tritanopia (blue-blind)
#2F6586
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6337da;
/* rgb */ color: rgb(99, 55, 218);
/* oklch */ color: oklch(49.7% 0.229 287.1);
Tailwind
colors: {
  custom: {
    50: '#9b73e7',
    500: '#6337da',
    950: '#000000',
  },
}
SCSS
$custom: #6337da;
$custom-light: #9b73e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6337da",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 256.196,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.22942,
    "h": 287.1
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#6337DA
secondary
#C6D993
accent
#EC3CBC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6337DA

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

Preview Lab → · Contrast checker → · Palette generator →

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