#6A3DFD

A color in the Violet family

#6a3dfd is a color in the Violet family: RGB(106, 61, 253), HSL(254°, 98%, 62%), CMYK(58%, 76%, 0%, 1%). Closest named color: blueviolet. Contrast is 5.68:1 on white and 3.7:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6a3dfd
RGBrgb(106 61 253)
RGB (legacy)rgb(106, 61, 253)
RGB %rgb(42% 24% 99%)
HSLhsl(254 98% 62%)
HSV / HSBhsv(254, 76%, 99%)
HWBhwb(254 24% 1%)
CMYKcmyk(58%, 76%, 0%, 1%)
CIELAB (D50)lab(42.01 56.11 -90.03)
LCHlch(42.01 106.08 301.93)
OKLaboklab(0.5422 0.0644 -0.2536)
OKLCHoklch(0.5422 0.2616 284.24)
Decimal6962685

Properties

Color ToneViolet
Closest named colorblueviolet ΔE 7.8
Closest web-safe color#6633ff
Hue254°
Saturation (HSL / HSV)98% / 76%
Lightness (HSL)62%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)38% / 33%
Relative luminance (WCAG)0.1349
Red / Green / Blue106 / 61 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.70: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 77.3 / -24.5 · As background with white / black text: Lc -82.6 / 26.8

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: #6a3dfd;
  --color-brand-oklch: oklch(54.22% 0.2616 284.24);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(106 61 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6a3dfd] text-[#6a3dfd] border-[#6a3dfd]">