#661B8F#661B8F

#661B8F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.179 H 309.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#661B8F
RGBrgb(102, 27, 143)
HSLhsl(279, 68%, 33%)
HSVhsv(279, 81%, 56%)
CMYKcmyk(28.7%, 81.1%, 0%, 43.9%)
CIE-LABlab(28.36, 51.19, -48.37)
CIE-LCHlch(28.36, 70.43, 316.62°)
OKLaboklab(40.56% 0.1144 -0.1373)
OKLCHoklch(40.56% 0.179 309.8)
XYZxyz(10.8284, 5.5920, 26.4902)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B8F #448F1B
analogous
#2C1B8F #661B8F #8F1B7E
triadic
#661B8F #8F661B #1B8F66
tetradic
#661B8F #8F2C1B #448F1B #1B7E8F
square
#661B8F #8F2C1B #448F1B #1B7E8F
split-complementary
#661B8F #7E8F1B #1B8F2C
monochromatic
#1D0828 #41115C #661B8F #8B25C2 #A848DC

Accessibility & contrast

On white

9.91
#661B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B8F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B8F#FFFFFF#000000##FFFFFF
##661B8F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#603955
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661b8f;
/* rgb */ color: rgb(102, 27, 143);
/* oklch */ color: oklch(40.6% 0.179 309.8);
Tailwind
colors: {
  custom: {
    50: '#9661b1',
    500: '#661b8f',
    950: '#000000',
  },
}
SCSS
$custom: #661b8f;
$custom-light: #9661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661b8f",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 278.793,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.1787,
    "h": 309.8
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#661B8F
secondary
#72BE48
accent
#EB3D7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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