#661F95#661F95

#661F95 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.181 H 307.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#661F95
RGBrgb(102, 31, 149)
HSLhsl(276, 66%, 35%)
HSVhsv(276, 79%, 58%)
CMYKcmyk(31.5%, 79.2%, 0%, 41.6%)
CIE-LABlab(29.35, 51.06, -50.46)
CIE-LCHlch(29.35, 71.79, 315.34°)
OKLaboklab(41.41% 0.1095 -0.1435)
OKLCHoklch(41.41% 0.181 307.4)
XYZxyz(11.3931, 5.9748, 28.9810)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F95 #4E951F
analogous
#2B1F95 #661F95 #951F89
triadic
#661F95 #95661F #1F9566
tetradic
#661F95 #952B1F #4E951F #1F8995
square
#661F95 #952B1F #4E951F #1F8995
split-complementary
#661F95 #89951F #1F952B
monochromatic
#210A30 #431462 #661F95 #892AC8 #A553DB

Accessibility & contrast

On white

9.57
#661F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#661F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F95
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F95#FFFFFF#000000##FFFFFF
##661F951.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#5E3D5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661f95;
/* rgb */ color: rgb(102, 31, 149);
/* oklch */ color: oklch(41.4% 0.181 307.4);
Tailwind
colors: {
  custom: {
    50: '#9763b5',
    500: '#661f95',
    950: '#000000',
  },
}
SCSS
$custom: #661f95;
$custom-light: #9763b5;
$custom-dark: #000000;
JSON
{
  "hex": "#661f95",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 276.102,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41406,
    "c": 0.18052,
    "h": 307.4
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#661F95
secondary
#7DBF51
accent
#E93F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661F95

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

Preview Lab → · Contrast checker → · Palette generator →

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