#661276#661276

#661276 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.164 H 320.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#661276
RGBrgb(102, 18, 118)
HSLhsl(290, 74%, 27%)
HSVhsv(290, 85%, 46%)
CMYKcmyk(13.6%, 84.7%, 0%, 53.7%)
CIE-LABlab(25.46, 48.90, -37.35)
CIE-LCHlch(25.46, 61.53, 322.62°)
OKLaboklab(37.93% 0.1266 -0.1049)
OKLCHoklch(37.93% 0.164 320.4)
XYZxyz(8.9654, 4.5659, 17.5451)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661276 #227612
analogous
#341276 #661276 #761254
triadic
#661276 #766612 #127666
tetradic
#661276 #763412 #227612 #125476
square
#661276 #763412 #227612 #125476
split-complementary
#661276 #547612 #127634
monochromatic
#17041B #380A41 #661276 #941AAB #C025DE

Accessibility & contrast

On white

10.98
#661276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#661276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661276
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661276#FFFFFF#000000##FFFFFF
##6612761.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#1E3F74
Tritanopia (blue-blind)
#662945
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #661276;
/* rgb */ color: rgb(102, 18, 118);
/* oklch */ color: oklch(37.9% 0.164 320.4);
Tailwind
colors: {
  custom: {
    50: '#955d9e',
    500: '#661276',
    950: '#000000',
  },
}
SCSS
$custom: #661276;
$custom-light: #955d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#661276",
  "rgb": {
    "r": 102,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 290.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37927,
    "c": 0.16444,
    "h": 320.4
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#661276
secondary
#4AAD37
accent
#F03855
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661276

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

Preview Lab → · Contrast checker → · Palette generator →

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