#661985#661985

#661985 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.171 H 313.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#661985
RGBrgb(102, 25, 133)
HSLhsl(283, 68%, 31%)
HSVhsv(283, 81%, 52%)
CMYKcmyk(23.3%, 81.2%, 0%, 47.8%)
CIE-LABlab(27.34, 49.72, -43.81)
CIE-LCHlch(27.34, 66.27, 318.62°)
OKLaboklab(39.6% 0.1183 -0.1239)
OKLCHoklch(39.6% 0.171 313.7)
XYZxyz(10.0600, 5.2138, 22.6622)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661985 #388519
analogous
#301985 #661985 #85196E
triadic
#661985 #856619 #198566
tetradic
#661985 #853019 #388519 #196E85
square
#661985 #853019 #388519 #196E85
split-complementary
#661985 #6E8519 #198530
monochromatic
#17061E #3E0F51 #661985 #8E23B9 #AE3EDB

Accessibility & contrast

On white

10.28
#661985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#661985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661985
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661985#FFFFFF#000000##FFFFFF
##6619851.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#0C4283
Tritanopia (blue-blind)
#63334F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #661985;
/* rgb */ color: rgb(102, 25, 133);
/* oklch */ color: oklch(39.6% 0.171 313.7);
Tailwind
colors: {
  custom: {
    50: '#9660a9',
    500: '#661985',
    950: '#000000',
  },
}
SCSS
$custom: #661985;
$custom-light: #9660a9;
$custom-dark: #000000;
JSON
{
  "hex": "#661985",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 282.778,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39598,
    "c": 0.17128,
    "h": 313.7
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#661985
secondary
#63B941
accent
#EB3D6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661985

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

Preview Lab → · Contrast checker → · Palette generator →

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