#663DBB#663DBB

#663DBB is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.187 H 293.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#663DBB
RGBrgb(102, 61, 187)
HSLhsl(260, 51%, 49%)
HSVhsv(260, 67%, 73%)
CMYKcmyk(45.5%, 67.4%, 0%, 26.7%)
CIE-LABlab(37.39, 46.61, -60.20)
CIE-LCHlch(37.39, 76.14, 307.75°)
OKLaboklab(48.06% 0.073 -0.1723)
OKLCHoklch(48.06% 0.187 293)
XYZxyz(16.1154, 9.7496, 48.0368)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DBB #92BB3D
analogous
#3D53BB #663DBB #A53DBB
triadic
#663DBB #BB663D #3DBB66
tetradic
#663DBB #BB3D53 #92BB3D #3DBBA5
square
#663DBB #BB3D53 #92BB3D #3DBBA5
split-complementary
#663DBB #BBA53D #53BB3D
monochromatic
#341F5F #4D2E8D #663DBB #8968CE #AD96DD

Accessibility & contrast

On white

7.12
#663DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#663DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DBB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DBB#FFFFFF#000000##FFFFFF
##663DBB1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#4D5C77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663dbb;
/* rgb */ color: rgb(102, 61, 187);
/* oklch */ color: oklch(48.1% 0.187 293.0);
Tailwind
colors: {
  custom: {
    50: '#9975d0',
    500: '#663dbb',
    950: '#000000',
  },
}
SCSS
$custom: #663dbb;
$custom-light: #9975d0;
$custom-dark: #000000;
JSON
{
  "hex": "#663dbb",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 259.524,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.1871,
    "h": 293
  },
  "luminance": 0.0975
}

Semantic roles & 50–950 ramp

primary
#663DBB
secondary
#B4C88C
accent
#DA4EAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #663DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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