#661983#661983

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

Color values

HEX#661983
RGBrgb(102, 25, 131)
HSLhsl(284, 68%, 31%)
HSVhsv(284, 81%, 51%)
CMYKcmyk(22.1%, 80.9%, 0%, 48.6%)
CIE-LABlab(27.18, 49.30, -42.80)
CIE-LCHlch(27.18, 65.29, 319.04°)
OKLaboklab(39.44% 0.1187 -0.1209)
OKLCHoklch(39.44% 0.169 314.5)
XYZxyz(9.9232, 5.1591, 21.9414)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661983 #368319
analogous
#311983 #661983 #83196B
triadic
#661983 #836619 #198366
tetradic
#661983 #833119 #368319 #196B83
square
#661983 #833119 #368319 #196B83
split-complementary
#661983 #6B8319 #198331
monochromatic
#16051C #3E0F50 #661983 #8E23B6 #AF3DDA

Accessibility & contrast

On white

10.34
#661983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661983
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661983#FFFFFF#000000##FFFFFF
##6619831.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#114281
Tritanopia (blue-blind)
#63324E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661983;
/* rgb */ color: rgb(102, 25, 131);
/* oklch */ color: oklch(39.4% 0.169 314.5);
Tailwind
colors: {
  custom: {
    50: '#9660a8',
    500: '#661983',
    950: '#000000',
  },
}
SCSS
$custom: #661983;
$custom-light: #9660a8;
$custom-dark: #000000;
JSON
{
  "hex": "#661983",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 283.585,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39443,
    "c": 0.16943,
    "h": 314.5
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#661983
secondary
#61B741
accent
#EB3D6D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #661983

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

Preview Lab → · Contrast checker → · Palette generator →

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