#661EBB#661EBB

#661EBB is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.7% C 0.219 H 296.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#661EBB
RGBrgb(102, 30, 187)
HSLhsl(268, 72%, 43%)
HSVhsv(268, 84%, 73%)
CMYKcmyk(45.5%, 84%, 0%, 26.7%)
CIE-LABlab(32.57, 60.31, -68.09)
CIE-LCHlch(32.57, 90.96, 311.53°)
OKLaboklab(44.67% 0.0986 -0.1952)
OKLCHoklch(44.67% 0.219 296.8)
XYZxyz(14.9110, 7.3408, 47.6354)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661EBB #73BB1E
analogous
#1E25BB #661EBB #B41EBB
triadic
#661EBB #BB661E #1EBB66
tetradic
#661EBB #BB1E25 #73BB1E #1EBBB4
square
#661EBB #BB1E25 #73BB1E #1EBBB4
split-complementary
#661EBB #BBB41E #25BB1E
monochromatic
#2C0D52 #491686 #661EBB #8437DF #A56CE7

Accessibility & contrast

On white

8.51
#661EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#661EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661EBB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661EBB#FFFFFF#000000##FFFFFF
##661EBB1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#4E4D70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #661ebb;
/* rgb */ color: rgb(102, 30, 187);
/* oklch */ color: oklch(44.7% 0.219 296.8);
Tailwind
colors: {
  custom: {
    50: '#9a65d1',
    500: '#661ebb',
    950: '#000000',
  },
}
SCSS
$custom: #661ebb;
$custom-light: #9a65d1;
$custom-dark: #000000;
JSON
{
  "hex": "#661ebb",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 267.516,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44668,
    "c": 0.21867,
    "h": 296.8
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#661EBB
secondary
#9FCD67
accent
#EF399B
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #661EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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