#661B83#661B83

#661B83 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.167 H 314.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#661B83
RGBrgb(102, 27, 131)
HSLhsl(283, 66%, 31%)
HSVhsv(283, 79%, 51%)
CMYKcmyk(22.1%, 79.4%, 0%, 48.6%)
CIE-LABlab(27.43, 48.59, -42.40)
CIE-LCHlch(27.43, 64.49, 318.89°)
OKLaboklab(39.62% 0.1169 -0.1198)
OKLCHoklch(39.62% 0.167 314.3)
XYZxyz(9.9675, 5.2477, 21.9562)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B83 #38831B
analogous
#321B83 #661B83 #831B6C
triadic
#661B83 #83661B #1B8366
tetradic
#661B83 #83321B #38831B #1B6C83
square
#661B83 #83321B #38831B #1B6C83
split-complementary
#661B83 #6C831B #1B8332
monochromatic
#17061E #3E1150 #661B83 #8E25B6 #AE41D8

Accessibility & contrast

On white

10.25
#661B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#661B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B83
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B83#FFFFFF#000000##FFFFFF
##661B831.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#134381
Tritanopia (blue-blind)
#63334E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661b83;
/* rgb */ color: rgb(102, 27, 131);
/* oklch */ color: oklch(39.6% 0.167 314.3);
Tailwind
colors: {
  custom: {
    50: '#9661a8',
    500: '#661b83',
    950: '#000000',
  },
}
SCSS
$custom: #661b83;
$custom-light: #9661a8;
$custom-dark: #000000;
JSON
{
  "hex": "#661b83",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 283.269,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.16737,
    "h": 314.3
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#661B83
secondary
#63B643
accent
#E93F6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661B83

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

Preview Lab → · Contrast checker → · Palette generator →

#661B83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva