#6A67CA

A color in the Violet family

#6a67ca is a color in the Violet family: RGB(106, 103, 202), HSL(242°, 48%, 60%), CMYK(48%, 49%, 0%, 21%). Closest named color: slateblue. Contrast is 4.77:1 on white and 4.41:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6a67ca
RGBrgb(106 103 202)
RGB (legacy)rgb(106, 103, 202)
RGB %rgb(42% 40% 79%)
HSLhsl(242 48% 60%)
HSV / HSBhsv(242, 49%, 79%)
HWBhwb(242 40% 21%)
CMYKcmyk(48%, 49%, 0%, 21%)
CIELAB (D50)lab(47.64 21.47 -52.09)
LCHlch(47.64 56.34 292.4)
OKLaboklab(0.5651 0.0307 -0.1459)
OKLCHoklch(0.5651 0.149 281.88)
Decimal6973386

Properties

Color ToneViolet
Closest named colorslateblue ΔE 3.3
Closest web-safe color#6666cc
Hue242°
Saturation (HSL / HSV)48% / 49%
Lightness (HSL)60%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)45% / 43%
Relative luminance (WCAG)0.1703
Red / Green / Blue106 / 103 / 202

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.77:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.41: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 72.9 / -28.8 · As background with white / black text: Lc -78.3 / 31.2

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: #6a67ca;
  --color-brand-oklch: oklch(56.51% 0.149 281.88);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(106 103 202 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6a67ca] text-[#6a67ca] border-[#6a67ca]">