#663BAF#663BAF

#663BAF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.175 H 295.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#663BAF
RGBrgb(102, 59, 175)
HSLhsl(262, 50%, 46%)
HSVhsv(262, 66%, 69%)
CMYKcmyk(41.7%, 66.3%, 0%, 31.4%)
CIE-LABlab(36.08, 44.41, -55.24)
CIE-LCHlch(36.08, 70.88, 308.79°)
OKLaboklab(46.82% 0.0767 -0.1577)
OKLCHoklch(46.82% 0.175 295.9)
XYZxyz(14.7793, 9.0475, 41.5168)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BAF #84AF3B
analogous
#3B4AAF #663BAF #A03BAF
triadic
#663BAF #AF663B #3BAF66
tetradic
#663BAF #AF3B4A #84AF3B #3BAFA0
square
#663BAF #AF3B4A #84AF3B #3BAFA0
split-complementary
#663BAF #AFA03B #4AAF3B
monochromatic
#311C53 #4B2C81 #663BAF #865EC9 #A88CD8

Accessibility & contrast

On white

7.47
#663BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#663BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BAF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BAF#FFFFFF#000000##FFFFFF
##663BAF1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#535670
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #663baf;
/* rgb */ color: rgb(102, 59, 175);
/* oklch */ color: oklch(46.8% 0.175 295.9);
Tailwind
colors: {
  custom: {
    50: '#9774c8',
    500: '#663baf',
    950: '#000000',
  },
}
SCSS
$custom: #663baf;
$custom-light: #9774c8;
$custom-dark: #000000;
JSON
{
  "hex": "#663baf",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 262.241,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46824,
    "c": 0.17534,
    "h": 295.9
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#663BAF
secondary
#ABC383
accent
#D94FA6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #663BAF

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

Preview Lab → · Contrast checker → · Palette generator →

#663BAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva