#6337AE#6337AE

#6337AE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.179 H 295.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6337AE
RGBrgb(99, 55, 174)
HSLhsl(262, 52%, 45%)
HSVhsv(262, 68%, 68%)
CMYKcmyk(43.1%, 68.4%, 0%, 31.8%)
CIE-LABlab(34.88, 45.67, -56.60)
CIE-LCHlch(34.88, 72.72, 308.90°)
OKLaboklab(45.87% 0.0768 -0.1618)
OKLCHoklch(45.87% 0.179 295.4)
XYZxyz(14.1497, 8.4407, 40.9199)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337AE #82AE37
analogous
#3746AE #6337AE #9F37AE
triadic
#6337AE #AE6337 #37AE63
tetradic
#6337AE #AE3746 #82AE37 #37AE9F
square
#6337AE #AE3746 #82AE37 #37AE9F
split-complementary
#6337AE #AE9F37 #46AE37
monochromatic
#2E1A51 #49287F #6337AE #8258CA #A586D9

Accessibility & contrast

On white

7.81
#6337AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6337AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337AE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337AE#FFFFFF#000000##FFFFFF
##6337AE1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#4F546E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6337ae;
/* rgb */ color: rgb(99, 55, 174);
/* oklch */ color: oklch(45.9% 0.179 295.4);
Tailwind
colors: {
  custom: {
    50: '#9671c7',
    500: '#6337ae',
    950: '#000000',
  },
}
SCSS
$custom: #6337ae;
$custom-light: #9671c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6337ae",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 262.185,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.17907,
    "h": 295.4
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#6337AE
secondary
#A9C37E
accent
#DB4CA7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6337AE

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

Preview Lab → · Contrast checker → · Palette generator →

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