#661EA0#661EA0

#661EA0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.192 H 304.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#661EA0
RGBrgb(102, 30, 160)
HSLhsl(273, 68%, 37%)
HSVhsv(273, 81%, 63%)
CMYKcmyk(36.2%, 81.3%, 0%, 37.3%)
CIE-LABlab(30.14, 53.96, -55.90)
CIE-LCHlch(30.14, 77.69, 313.99°)
OKLaboklab(42.24% 0.1074 -0.1594)
OKLCHoklch(42.24% 0.192 304)
XYZxyz(12.2874, 6.2914, 33.8179)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661EA0 #58A01E
analogous
#251EA0 #661EA0 #A01E99
triadic
#661EA0 #A0661E #1EA066
tetradic
#661EA0 #A0251E #58A01E #1E99A0
square
#661EA0 #A0251E #58A01E #1E99A0
split-complementary
#661EA0 #99A01E #1EA025
monochromatic
#240B39 #45146C #661EA0 #8728D4 #A359E0

Accessibility & contrast

On white

9.30
#661EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#661EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661EA0
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661EA0#FFFFFF#000000##FFFFFF
##661EA01.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5A4160
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #661ea0;
/* rgb */ color: rgb(102, 30, 160);
/* oklch */ color: oklch(42.2% 0.192 304.0);
Tailwind
colors: {
  custom: {
    50: '#9864bd',
    500: '#661ea0',
    950: '#000000',
  },
}
SCSS
$custom: #661ea0;
$custom-light: #9864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#661ea0",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 273.231,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4224,
    "c": 0.19226,
    "h": 304
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#661EA0
secondary
#87C456
accent
#EB3D8A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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