#661F74#661F74

#661F74 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.9% C 0.148 H 320.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#661F74
RGBrgb(102, 31, 116)
HSLhsl(290, 58%, 29%)
HSVhsv(290, 73%, 45%)
CMYKcmyk(12.1%, 73.3%, 0%, 54.5%)
CIE-LABlab(26.92, 43.91, -33.73)
CIE-LCHlch(26.92, 55.36, 322.47°)
OKLaboklab(38.92% 0.1147 -0.0944)
OKLCHoklch(38.92% 0.149 320.5)
XYZxyz(9.1215, 5.0662, 17.0170)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F74 #2D741F
analogous
#3C1F74 #661F74 #741F58
triadic
#661F74 #74661F #1F7466
tetradic
#661F74 #743C1F #2D741F #1F5874
square
#661F74 #743C1F #2D741F #1F5874
split-complementary
#661F74 #58741F #1F743C
monochromatic
#150618 #3C1244 #661F74 #902CA4 #B541CC

Accessibility & contrast

On white

10.43
#661F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#661F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F74
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F74#FFFFFF#000000##FFFFFF
##661F741.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#284272
Tritanopia (blue-blind)
#672F47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #661f74;
/* rgb */ color: rgb(102, 31, 116);
/* oklch */ color: oklch(38.9% 0.148 320.5);
Tailwind
colors: {
  custom: {
    50: '#95629c',
    500: '#661f74',
    950: '#000000',
  },
}
SCSS
$custom: #661f74;
$custom-light: #95629c;
$custom-dark: #000000;
JSON
{
  "hex": "#661f74",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 290.118,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38921,
    "c": 0.1485,
    "h": 320.5
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#661F74
secondary
#57A847
accent
#E14760
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #661F74

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

Preview Lab → · Contrast checker → · Palette generator →

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