#661A8E#661A8E

#661A8E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.179 H 310.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#661A8E
RGBrgb(102, 26, 142)
HSLhsl(279, 69%, 33%)
HSVhsv(279, 82%, 56%)
CMYKcmyk(28.2%, 81.7%, 0%, 44.3%)
CIE-LABlab(28.16, 51.31, -48.08)
CIE-LCHlch(28.16, 70.32, 316.86°)
OKLaboklab(40.4% 0.1154 -0.1364)
OKLCHoklch(40.4% 0.179 310.2)
XYZxyz(10.7304, 5.5168, 26.0855)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A8E #428E1A
analogous
#2C1A8E #661A8E #8E1A7C
triadic
#661A8E #8E661A #1A8E66
tetradic
#661A8E #8E2C1A #428E1A #1A7C8E
square
#661A8E #8E2C1A #428E1A #1A7C8E
split-complementary
#661A8E #7C8E1A #1A8E2C
monochromatic
#1C0727 #41115A #661A8E #8B23C2 #A945DD

Accessibility & contrast

On white

9.98
#661A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#661A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A8E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A8E#FFFFFF#000000##FFFFFF
##661A8E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#603855
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661a8e;
/* rgb */ color: rgb(102, 26, 142);
/* oklch */ color: oklch(40.4% 0.179 310.2);
Tailwind
colors: {
  custom: {
    50: '#9661b0',
    500: '#661a8e',
    950: '#000000',
  },
}
SCSS
$custom: #661a8e;
$custom-light: #9661b0;
$custom-dark: #000000;
JSON
{
  "hex": "#661a8e",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 279.31,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40396,
    "c": 0.17872,
    "h": 310.2
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#661A8E
secondary
#6FBE45
accent
#EC3C79
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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