#661272#661272

#661272 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.161 H 322.2°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#661272
RGBrgb(102, 18, 114)
HSLhsl(293, 73%, 26%)
HSVhsv(293, 84%, 45%)
CMYKcmyk(10.5%, 84.2%, 0%, 55.3%)
CIE-LABlab(25.18, 48.13, -35.24)
CIE-LCHlch(25.18, 59.66, 323.79°)
OKLaboklab(37.64% 0.1272 -0.0987)
OKLCHoklch(37.64% 0.161 322.2)
XYZxyz(8.7327, 4.4728, 16.3197)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661272 #1E7212
analogous
#361272 #661272 #72124E
triadic
#661272 #726612 #127266
tetradic
#661272 #723612 #1E7212 #124E72
square
#661272 #723612 #1E7212 #124E72
split-complementary
#661272 #4E7212 #127236
monochromatic
#18041A #370A3D #661272 #951AA7 #C523DC

Accessibility & contrast

On white

11.09
#661272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#661272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661272
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661272#FFFFFF#000000##FFFFFF
##6612721.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#223F70
Tritanopia (blue-blind)
#672743
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #661272;
/* rgb */ color: rgb(102, 18, 114);
/* oklch */ color: oklch(37.6% 0.161 322.2);
Tailwind
colors: {
  custom: {
    50: '#955c9b',
    500: '#661272',
    950: '#000000',
  },
}
SCSS
$custom: #661272;
$custom-light: #955c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#661272",
  "rgb": {
    "r": 102,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 292.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37637,
    "c": 0.16102,
    "h": 322.2
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#661272
secondary
#45A937
accent
#EF384F
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #661272

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

Preview Lab → · Contrast checker → · Palette generator →

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