#6261CC

A color in the Violet family

#6261cc is a color in the Violet family: RGB(98, 97, 204), HSL(241°, 51%, 59%), CMYK(52%, 52%, 0%, 20%). Closest named color: slateblue. Contrast is 5.12:1 on white and 4.1:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6261cc
RGBrgb(98 97 204)
RGB (legacy)rgb(98, 97, 204)
RGB %rgb(38% 38% 80%)
HSLhsl(241 51% 59%)
HSV / HSBhsv(241, 52%, 80%)
HWBhwb(241 38% 20%)
CMYKcmyk(52%, 52%, 0%, 20%)
CIELAB (D50)lab(45.56 23.38 -56.59)
LCHlch(45.56 61.23 292.45)
OKLaboklab(0.5491 0.0283 -0.1589)
OKLCHoklch(0.5491 0.1614 280.09)
Decimal6447564

Properties

Color ToneViolet
Closest named colorslateblue ΔE 1.9
Closest web-safe color#6666cc
Hue241°
Saturation (HSL / HSV)51% / 52%
Lightness (HSL)59%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)43% / 41%
Relative luminance (WCAG)0.1551
Red / Green / Blue98 / 97 / 204

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.12:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.10: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 75.1 / -26.7 · As background with white / black text: Lc -80.4 / 29

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: #6261cc;
  --color-brand-oklch: oklch(54.91% 0.1614 280.09);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(98 97 204 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6261cc] text-[#6261cc] border-[#6261cc]">