#661674#661674

#661674 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.159 H 321.1°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#661674
RGBrgb(102, 22, 116)
HSLhsl(291, 68%, 27%)
HSVhsv(291, 81%, 45%)
CMYKcmyk(12.1%, 81%, 0%, 54.5%)
CIE-LABlab(25.74, 47.28, -35.62)
CIE-LCHlch(25.74, 59.19, 323.01°)
OKLaboklab(38.08% 0.1237 -0.0998)
OKLCHoklch(38.08% 0.159 321.1)
XYZxyz(8.9184, 4.6600, 16.9493)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661674 #247416
analogous
#371674 #661674 #741653
triadic
#661674 #746616 #167466
tetradic
#661674 #743716 #247416 #165374
square
#661674 #743716 #247416 #165374
split-complementary
#661674 #537416 #167437
monochromatic
#17051A #390C41 #661674 #9320A7 #BE2DD7

Accessibility & contrast

On white

10.87
#661674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#661674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661674
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661674#FFFFFF#000000##FFFFFF
##6616741.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#224072
Tritanopia (blue-blind)
#672A45
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #661674;
/* rgb */ color: rgb(102, 22, 116);
/* oklch */ color: oklch(38.1% 0.159 321.1);
Tailwind
colors: {
  custom: {
    50: '#955e9c',
    500: '#661674',
    950: '#000000',
  },
}
SCSS
$custom: #661674;
$custom-light: #955e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#661674",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 291.064,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38082,
    "c": 0.15892,
    "h": 321.1
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#661674
secondary
#4CAA3C
accent
#EB3D57
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661674

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

Preview Lab → · Contrast checker → · Palette generator →

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