#661982#661982

#661982 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.169 H 314.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#661982
RGBrgb(102, 25, 130)
HSLhsl(284, 68%, 30%)
HSVhsv(284, 81%, 51%)
CMYKcmyk(21.5%, 80.8%, 0%, 49%)
CIE-LABlab(27.11, 49.09, -42.30)
CIE-LCHlch(27.11, 64.80, 319.25°)
OKLaboklab(39.37% 0.1189 -0.1194)
OKLCHoklch(39.37% 0.169 314.9)
XYZxyz(9.8557, 5.1321, 21.5862)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661982 #358219
analogous
#311982 #661982 #821969
triadic
#661982 #826619 #198266
tetradic
#661982 #823119 #358219 #196982
square
#661982 #823119 #358219 #196982
split-complementary
#661982 #698219 #198231
monochromatic
#15051B #3E0F4F #661982 #8E23B5 #AF3CD9

Accessibility & contrast

On white

10.36
#661982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#661982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661982
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661982#FFFFFF#000000##FFFFFF
##6619821.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#134280
Tritanopia (blue-blind)
#64324D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661982;
/* rgb */ color: rgb(102, 25, 130);
/* oklch */ color: oklch(39.4% 0.169 314.9);
Tailwind
colors: {
  custom: {
    50: '#9660a7',
    500: '#661982',
    950: '#000000',
  },
}
SCSS
$custom: #661982;
$custom-light: #9660a7;
$custom-dark: #000000;
JSON
{
  "hex": "#661982",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 284,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39366,
    "c": 0.1685,
    "h": 314.9
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#661982
secondary
#60B641
accent
#EB3D6B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #661982

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

Preview Lab → · Contrast checker → · Palette generator →

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