#661F90#661F90

#661F90 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.176 H 309.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#661F90
RGBrgb(102, 31, 144)
HSLhsl(278, 65%, 34%)
HSVhsv(278, 78%, 56%)
CMYKcmyk(29.2%, 78.5%, 0%, 43.5%)
CIE-LABlab(28.95, 49.93, -48.03)
CIE-LCHlch(28.95, 69.28, 316.11°)
OKLaboklab(41% 0.1107 -0.1363)
OKLCHoklch(41% 0.176 309.1)
XYZxyz(11.0025, 5.8186, 26.9236)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661F90 #49901F
analogous
#2E1F90 #661F90 #901F82
triadic
#661F90 #90661F #1F9066
tetradic
#661F90 #902E1F #49901F #1F8290
square
#661F90 #902E1F #49901F #1F8290
split-complementary
#661F90 #82901F #1F902E
monochromatic
#1F092B #42145E #661F90 #8A2AC2 #A650D9

Accessibility & contrast

On white

9.71
#661F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#661F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661F90
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661F90#FFFFFF#000000##FFFFFF
##661F901.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#603B57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661f90;
/* rgb */ color: rgb(102, 31, 144);
/* oklch */ color: oklch(41.0% 0.176 309.1);
Tailwind
colors: {
  custom: {
    50: '#9663b1',
    500: '#661f90',
    950: '#000000',
  },
}
SCSS
$custom: #661f90;
$custom-light: #9663b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661f90",
  "rgb": {
    "r": 102,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 277.699,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41001,
    "c": 0.17561,
    "h": 309.1
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#661F90
secondary
#77BC4E
accent
#E8407E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661F90

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

Preview Lab → · Contrast checker → · Palette generator →

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