#6337AD#6337AD

#6337AD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.178 H 295.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6337AD
RGBrgb(99, 55, 173)
HSLhsl(262, 52%, 45%)
HSVhsv(262, 68%, 68%)
CMYKcmyk(42.8%, 68.2%, 0%, 32.2%)
CIE-LABlab(34.81, 45.40, -56.13)
CIE-LCHlch(34.81, 72.19, 308.97°)
OKLaboklab(45.79% 0.077 -0.1604)
OKLCHoklch(45.79% 0.178 295.6)
XYZxyz(14.0526, 8.4018, 40.4084)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337AD #81AD37
analogous
#3746AD #6337AD #9E37AD
triadic
#6337AD #AD6337 #37AD63
tetradic
#6337AD #AD3746 #81AD37 #37AD9E
square
#6337AD #AD3746 #81AD37 #37AD9E
split-complementary
#6337AD #AD9E37 #46AD37
monochromatic
#2E1950 #48287F #6337AD #8257CA #A586D8

Accessibility & contrast

On white

7.83
#6337AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6337AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337AD
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337AD#FFFFFF#000000##FFFFFF
##6337AD1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#4F536D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6337ad;
/* rgb */ color: rgb(99, 55, 173);
/* oklch */ color: oklch(45.8% 0.178 295.6);
Tailwind
colors: {
  custom: {
    50: '#9571c6',
    500: '#6337ad',
    950: '#000000',
  },
}
SCSS
$custom: #6337ad;
$custom-light: #9571c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6337ad",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 262.373,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45786,
    "c": 0.17789,
    "h": 295.6
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#6337AD
secondary
#A9C27D
accent
#DB4DA6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6337AD

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

Preview Lab → · Contrast checker → · Palette generator →

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