#661493#661493

#661493 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.4% C 0.188 H 308.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#661493
RGBrgb(102, 20, 147)
HSLhsl(279, 76%, 33%)
HSVhsv(279, 86%, 58%)
CMYKcmyk(30.6%, 86.4%, 0%, 42.4%)
CIE-LABlab(27.93, 54.27, -51.54)
CIE-LCHlch(27.93, 74.84, 316.48°)
OKLaboklab(40.37% 0.1184 -0.1466)
OKLCHoklch(40.37% 0.188 308.9)
XYZxyz(10.9950, 5.4319, 28.0674)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661493 #419314
analogous
#261493 #661493 #931481
triadic
#661493 #936614 #149366
tetradic
#661493 #932614 #419314 #148193
square
#661493 #932614 #419314 #148193
split-complementary
#661493 #819314 #149326
monochromatic
#1B0527 #410D5D #661493 #8B1BC9 #A93DE5

Accessibility & contrast

On white

10.07
#661493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#661493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661493
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661493#FFFFFF#000000##FFFFFF
##6614931.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#5F3856
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661493;
/* rgb */ color: rgb(102, 20, 147);
/* oklch */ color: oklch(40.4% 0.188 308.9);
Tailwind
colors: {
  custom: {
    50: '#975fb4',
    500: '#661493',
    950: '#000000',
  },
}
SCSS
$custom: #661493;
$custom-light: #975fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#661493",
  "rgb": {
    "r": 102,
    "g": 20,
    "b": 147
  },
  "hsl": {
    "h": 278.74,
    "s": 76.048,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.18841,
    "h": 308.9
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#661493
secondary
#6EC43F
accent
#F33578
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #661493

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

Preview Lab → · Contrast checker → · Palette generator →

#661493 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva