#6028FA

A color in the Violet family

#6028fa is a color in the Violet family: RGB(96, 40, 250), HSL(256°, 95%, 57%), CMYK(62%, 84%, 0%, 2%). Closest named color: blueviolet. Contrast is 6.6:1 on white and 3.18:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6028fa
RGBrgb(96 40 250)
RGB (legacy)rgb(96, 40, 250)
RGB %rgb(38% 16% 98%)
HSLhsl(256 95% 57%)
HSV / HSBhsv(256, 84%, 98%)
HWBhwb(256 16% 2%)
CMYKcmyk(62%, 84%, 0%, 2%)
CIELAB (D50)lab(37.7 62.51 -95.51)
LCHlch(37.7 114.15 303.2)
OKLaboklab(0.5109 0.0614 -0.2684)
OKLCHoklch(0.5109 0.2753 282.89)
Decimal6301946

Properties

Color ToneViolet
Closest named colorblueviolet ΔE 9.1
Closest web-safe color#6633ff
Hue256°
Saturation (HSL / HSV)95% / 84%
Lightness (HSL)57%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)32% / 26%
Relative luminance (WCAG)0.1091
Red / Green / Blue96 / 40 / 250

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.60:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.18: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 81 / -20.8 · As background with white / black text: Lc -86.2 / 23

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: #6028fa;
  --color-brand-oklch: oklch(51.09% 0.2753 282.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(96 40 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6028fa] text-[#6028fa] border-[#6028fa]">