#524FDC

A color in the Violet family

#524fdc is a color in the Violet family: RGB(82, 79, 220), HSL(241°, 67%, 59%), CMYK(63%, 64%, 0%, 14%). Closest named color: slateblue. Contrast is 5.98:1 on white and 3.51:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#524fdc
RGBrgb(82 79 220)
RGB (legacy)rgb(82, 79, 220)
RGB %rgb(32% 31% 86%)
HSLhsl(241 67% 59%)
HSV / HSBhsv(241, 64%, 86%)
HWBhwb(241 31% 14%)
CMYKcmyk(63%, 64%, 0%, 14%)
CIELAB (D50)lab(40.93 34.59 -73.3)
LCHlch(40.93 81.05 295.26)
OKLaboklab(0.5185 0.0262 -0.2068)
OKLCHoklch(0.5185 0.2084 277.21)
Decimal5394396

Properties

Color ToneViolet
Closest named colorslateblue ΔE 5.3
Closest web-safe color#6666cc
Hue241°
Saturation (HSL / HSV)67% / 64%
Lightness (HSL)59%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)38% / 35%
Relative luminance (WCAG)0.1255
Red / Green / Blue82 / 79 / 220

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.98:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.51: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 79.3 / -22.5 · As background with white / black text: Lc -84.5 / 24.7

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: #524fdc;
  --color-brand-oklch: oklch(51.85% 0.2084 277.21);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(82 79 220 / 50%); }
/* Tailwind CSS */
<div class="bg-[#524fdc] text-[#524fdc] border-[#524fdc]">