#661E90#661E90

#661E90 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.177 H 309.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#661E90
RGBrgb(102, 30, 144)
HSLhsl(278, 66%, 34%)
HSVhsv(278, 79%, 56%)
CMYKcmyk(29.2%, 79.2%, 0%, 43.5%)
CIE-LABlab(28.82, 50.31, -48.25)
CIE-LCHlch(28.82, 69.71, 316.20°)
OKLaboklab(40.91% 0.1116 -0.137)
OKLCHoklch(40.91% 0.177 309.2)
XYZxyz(10.9768, 5.7672, 26.9151)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E90 #48901E
analogous
#2D1E90 #661E90 #901E81
triadic
#661E90 #90661E #1E9066
tetradic
#661E90 #902D1E #48901E #1E8190
square
#661E90 #902D1E #48901E #1E8190
split-complementary
#661E90 #81901E #1E902D
monochromatic
#1E092B #42135D #661E90 #8A29C3 #A74EDA

Accessibility & contrast

On white

9.75
#661E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#661E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E90
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E90#FFFFFF#000000##FFFFFF
##661E901.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661e90;
/* rgb */ color: rgb(102, 30, 144);
/* oklch */ color: oklch(40.9% 0.177 309.2);
Tailwind
colors: {
  custom: {
    50: '#9663b1',
    500: '#661e90',
    950: '#000000',
  },
}
SCSS
$custom: #661e90;
$custom-light: #9663b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661e90",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 277.895,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40908,
    "c": 0.17666,
    "h": 309.2
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#661E90
secondary
#76BD4D
accent
#E83F7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661E90

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

Preview Lab → · Contrast checker → · Palette generator →

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