#6337A3#6337A3

#6337A3 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.166 H 298.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6337A3
RGBrgb(99, 55, 163)
HSLhsl(264, 50%, 43%)
HSVhsv(264, 66%, 64%)
CMYKcmyk(39.3%, 66.3%, 0%, 36.1%)
CIE-LABlab(34.04, 42.71, -51.37)
CIE-LCHlch(34.04, 66.81, 309.74°)
OKLaboklab(45% 0.0783 -0.1464)
OKLCHoklch(45% 0.166 298.1)
XYZxyz(13.1210, 8.0292, 35.5017)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337A3 #77A337
analogous
#3741A3 #6337A3 #9937A3
triadic
#6337A3 #A36337 #37A363
tetradic
#6337A3 #A33741 #77A337 #37A399
square
#6337A3 #A33741 #77A337 #37A399
split-complementary
#6337A3 #A39937 #41A337
monochromatic
#2B1847 #472875 #6337A3 #8152C5 #A280D4

Accessibility & contrast

On white

8.06
#6337A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6337A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337A3
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337A3#FFFFFF#000000##FFFFFF
##6337A31.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#545068
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6337a3;
/* rgb */ color: rgb(99, 55, 163);
/* oklch */ color: oklch(45.0% 0.166 298.1);
Tailwind
colors: {
  custom: {
    50: '#9471bf',
    500: '#6337a3',
    950: '#000000',
  },
}
SCSS
$custom: #6337a3;
$custom-light: #9471bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6337a3",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 264.444,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44999,
    "c": 0.166,
    "h": 298.1
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#6337A3
secondary
#A1BE78
accent
#D94FA1
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6337A3

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

Preview Lab → · Contrast checker → · Palette generator →

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