#661E98#661E98

#661E98 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.184 H 306.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#661E98
RGBrgb(102, 30, 152)
HSLhsl(275, 67%, 36%)
HSVhsv(275, 80%, 60%)
CMYKcmyk(32.9%, 80.3%, 0%, 40.4%)
CIE-LABlab(29.46, 52.12, -52.12)
CIE-LCHlch(29.46, 73.71, 315.00°)
OKLaboklab(41.56% 0.1096 -0.1483)
OKLCHoklch(41.56% 0.184 306.5)
XYZxyz(11.6100, 6.0204, 30.2501)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E98 #50981E
analogous
#291E98 #661E98 #981E8D
triadic
#661E98 #98661E #1E9866
tetradic
#661E98 #98291E #50981E #1E8D98
square
#661E98 #98291E #50981E #1E8D98
split-complementary
#661E98 #8D981E #1E9829
monochromatic
#210A32 #441465 #661E98 #8828CB #A553DD

Accessibility & contrast

On white

9.53
#661E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#661E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E98
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E98#FFFFFF#000000##FFFFFF
##661E981.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#5D3E5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661e98;
/* rgb */ color: rgb(102, 30, 152);
/* oklch */ color: oklch(41.6% 0.184 306.5);
Tailwind
colors: {
  custom: {
    50: '#9763b7',
    500: '#661e98',
    950: '#000000',
  },
}
SCSS
$custom: #661e98;
$custom-light: #9763b7;
$custom-dark: #000000;
JSON
{
  "hex": "#661e98",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 275.41,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.18445,
    "h": 306.5
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#661E98
secondary
#7FC051
accent
#EA3E84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661E98

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

Preview Lab → · Contrast checker → · Palette generator →

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