#661F94#661F94

#661F94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.180 H 307.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#661F94
RGBrgb(102, 31, 148)
HSLhsl(276, 65%, 35%)
HSVhsv(276, 79%, 58%)
CMYKcmyk(31.1%, 79.1%, 0%, 42%)
CIE-LABlab(29.27, 50.83, -49.98)
CIE-LCHlch(29.27, 71.29, 315.49°)
OKLaboklab(41.32% 0.1098 -0.1421)
OKLCHoklch(41.32% 0.18 307.7)
XYZxyz(11.3136, 5.9430, 28.5623)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F94 #4D941F
analogous
#2B1F94 #661F94 #941F88
triadic
#661F94 #94661F #1F9466
tetradic
#661F94 #942B1F #4D941F #1F8894
square
#661F94 #942B1F #4D941F #1F8894
split-complementary
#661F94 #88941F #1F942B
monochromatic
#200A2F #431461 #661F94 #892AC7 #A553DB

Accessibility & contrast

On white

9.60
#661F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661F94
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F94#FFFFFF#000000##FFFFFF
##661F941.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#5E3D59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661f94;
/* rgb */ color: rgb(102, 31, 148);
/* oklch */ color: oklch(41.3% 0.180 307.7);
Tailwind
colors: {
  custom: {
    50: '#9663b4',
    500: '#661f94',
    950: '#000000',
  },
}
SCSS
$custom: #661f94;
$custom-light: #9663b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661f94",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 276.41,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.17954,
    "h": 307.7
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#661F94
secondary
#7CBE51
accent
#E83F82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661F94

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

Preview Lab → · Contrast checker → · Palette generator →

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