#661B9F#661B9F

#661B9F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.194 H 304.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#661B9F
RGBrgb(102, 27, 159)
HSLhsl(274, 71%, 36%)
HSVhsv(274, 83%, 62%)
CMYKcmyk(35.8%, 83%, 0%, 37.6%)
CIE-LABlab(29.69, 54.77, -56.01)
CIE-LCHlch(29.69, 78.34, 314.36°)
OKLaboklab(41.91% 0.11 -0.1598)
OKLCHoklch(41.91% 0.194 304.5)
XYZxyz(12.1280, 6.1119, 33.3350)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661B9F #549F1B
analogous
#241B9F #661B9F #9F1B96
triadic
#661B9F #9F661B #1B9F66
tetradic
#661B9F #9F241B #549F1B #1B969F
square
#661B9F #9F241B #549F1B #1B969F
split-complementary
#661B9F #969F1B #1B9F24
monochromatic
#230936 #44126B #661B9F #8824D3 #A453E2

Accessibility & contrast

On white

9.45
#661B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#661B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661B9F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661B9F#FFFFFF#000000##FFFFFF
##661B9F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5B405F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661b9f;
/* rgb */ color: rgb(102, 27, 159);
/* oklch */ color: oklch(41.9% 0.194 304.5);
Tailwind
colors: {
  custom: {
    50: '#9862bc',
    500: '#661b9f',
    950: '#000000',
  },
}
SCSS
$custom: #661b9f;
$custom-light: #9862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#661b9f",
  "rgb": {
    "r": 102,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 274.091,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41905,
    "c": 0.19395,
    "h": 304.5
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#661B9F
secondary
#83C551
accent
#EE3A88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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