#661783#661783

#661783 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.171 H 314.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#661783
RGBrgb(102, 23, 131)
HSLhsl(284, 70%, 30%)
HSVhsv(284, 82%, 51%)
CMYKcmyk(22.1%, 82.4%, 0%, 48.6%)
CIE-LABlab(26.95, 49.97, -43.18)
CIE-LCHlch(26.95, 66.04, 319.17°)
OKLaboklab(39.28% 0.1203 -0.122)
OKLCHoklch(39.28% 0.171 314.6)
XYZxyz(9.8819, 5.0766, 21.9277)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661783 #348317
analogous
#301783 #661783 #83176A
triadic
#661783 #836617 #178366
tetradic
#661783 #833017 #348317 #176A83
square
#661783 #833017 #348317 #176A83
split-complementary
#661783 #6A8317 #178330
monochromatic
#15051B #3D0E4F #661783 #8F20B7 #B038DC

Accessibility & contrast

On white

10.42
#661783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#661783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661783
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661783#FFFFFF#000000##FFFFFF
##6617831.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#0E4281
Tritanopia (blue-blind)
#63314E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661783;
/* rgb */ color: rgb(102, 23, 131);
/* oklch */ color: oklch(39.3% 0.171 314.6);
Tailwind
colors: {
  custom: {
    50: '#965fa8',
    500: '#661783',
    950: '#000000',
  },
}
SCSS
$custom: #661783;
$custom-light: #965fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#661783",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 283.889,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.17137,
    "h": 314.6
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#661783
secondary
#5FB73F
accent
#ED3B6B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661783

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

Preview Lab → · Contrast checker → · Palette generator →

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