#6661BA

A color in the Violet family

#6661ba is a color in the Violet family: RGB(102, 97, 186), HSL(243°, 39%, 55%), CMYK(45%, 48%, 0%, 27%). Closest named color: slateblue. Contrast is 5.27:1 on white and 3.98:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#6661ba
RGBrgb(102 97 186)
RGB (legacy)rgb(102, 97, 186)
RGB %rgb(40% 38% 73%)
HSLhsl(243 39% 55%)
HSV / HSBhsv(243, 48%, 73%)
HWBhwb(243 38% 27%)
CMYKcmyk(45%, 48%, 0%, 27%)
CIELAB (D50)lab(44.94 19.98 -47.19)
LCHlch(44.94 51.24 292.94)
OKLaboklab(0.5403 0.0315 -0.1319)
OKLCHoklch(0.5403 0.1356 283.41)
Decimal6709690

Properties

Color ToneViolet
Closest named colorslateblue ΔE 3.6
Closest web-safe color#6666cc
Hue243°
Saturation (HSL / HSV)39% / 48%
Lightness (HSL)55%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)43% / 41%
Relative luminance (WCAG)0.1492
Red / Green / Blue102 / 97 / 186

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.27:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.98:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 76 / -25.7 · As background with white / black text: Lc -81.4 / 28.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #6661ba;
  --color-brand-oklch: oklch(54.03% 0.1356 283.41);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(102 97 186 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6661ba] text-[#6661ba] border-[#6661ba]">