#661275#661275

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

Color values

HEX#661275
RGBrgb(102, 18, 117)
HSLhsl(291, 73%, 26%)
HSVhsv(291, 85%, 46%)
CMYKcmyk(12.8%, 84.6%, 0%, 54.1%)
CIE-LABlab(25.39, 48.70, -36.83)
CIE-LCHlch(25.39, 61.06, 322.91°)
OKLaboklab(37.85% 0.1268 -0.1033)
OKLCHoklch(37.85% 0.164 320.8)
XYZxyz(8.9063, 4.5422, 17.2338)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661275 #217512
analogous
#351275 #661275 #751253
triadic
#661275 #756612 #127566
tetradic
#661275 #753512 #217512 #125375
square
#661275 #753512 #217512 #125375
split-complementary
#661275 #537512 #127535
monochromatic
#17041B #380A40 #661275 #941AAA #C124DD

Accessibility & contrast

On white

11.00
#661275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661275
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661275#FFFFFF#000000##FFFFFF
##6612751.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#1F3F73
Tritanopia (blue-blind)
#672845
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #661275;
/* rgb */ color: rgb(102, 18, 117);
/* oklch */ color: oklch(37.9% 0.164 320.8);
Tailwind
colors: {
  custom: {
    50: '#955d9d',
    500: '#661275',
    950: '#000000',
  },
}
SCSS
$custom: #661275;
$custom-light: #955d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#661275",
  "rgb": {
    "r": 102,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 290.909,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37854,
    "c": 0.16358,
    "h": 320.8
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#661275
secondary
#49AC37
accent
#F03854
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661275

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

Preview Lab → · Contrast checker → · Palette generator →

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