#663183#663183

#663183 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.138 H 311.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#663183
RGBrgb(102, 49, 131)
HSLhsl(279, 46%, 35%)
HSVhsv(279, 63%, 51%)
CMYKcmyk(22.1%, 62.6%, 0%, 48.6%)
CIE-LABlab(31.02, 38.55, -36.63)
CIE-LCHlch(31.02, 53.18, 316.47°)
OKLaboklab(42.19% 0.0919 -0.103)
OKLCHoklch(42.19% 0.138 311.7)
XYZxyz(10.6738, 6.6604, 22.1916)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663183 #4E8331
analogous
#3D3183 #663183 #833177
triadic
#663183 #836631 #318366
tetradic
#663183 #833D31 #4E8331 #317783
square
#663183 #833D31 #4E8331 #317783
split-complementary
#663183 #778331 #31833D
monochromatic
#21102A #432056 #663183 #8942B0 #A568C6

Accessibility & contrast

On white

9.01
#663183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#663183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663183
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663183#FFFFFF#000000##FFFFFF
##6631831.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124686
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#634055
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #663183;
/* rgb */ color: rgb(102, 49, 131);
/* oklch */ color: oklch(42.2% 0.138 311.7);
Tailwind
colors: {
  custom: {
    50: '#946ca7',
    500: '#663183',
    950: '#000000',
  },
}
SCSS
$custom: #663183;
$custom-light: #946ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#663183",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 278.78,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.13799,
    "h": 311.7
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#663183
secondary
#7DAE62
accent
#D55381
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #663183

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

Preview Lab → · Contrast checker → · Palette generator →

#663183 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva