#4D0DFD

A color in the Violet family

#4d0dfd is a color in the Violet family: RGB(77, 13, 253), HSL(256°, 98%, 52%), CMYK(70%, 95%, 0%, 1%). Closest named color: blue. Contrast is 7.52:1 on white and 2.79:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4d0dfd
RGBrgb(77 13 253)
RGB (legacy)rgb(77, 13, 253)
RGB %rgb(30% 5% 99%)
HSLhsl(256 98% 52%)
HSV / HSBhsv(256, 95%, 99%)
HWBhwb(256 5% 1%)
CMYKcmyk(70%, 95%, 0%, 1%)
CIELAB (D50)lab(33.76 68.3 -103.79)
LCHlch(33.76 124.25 303.35)
OKLaboklab(0.4841 0.0384 -0.2903)
OKLCHoklch(0.4841 0.2929 277.54)
Decimal5049853

Properties

Color ToneViolet
Closest named colorblue ΔE 8.1
Closest web-safe color#6600ff
Hue256°
Saturation (HSL / HSV)98% / 95%
Lightness (HSL)52%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)23% / 17%
Relative luminance (WCAG)0.0896
Red / Green / Blue77 / 13 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.52:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.79:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 83.6 / -18.3 · As background with white / black text: Lc -88.6 / 20.4

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: #4d0dfd;
  --color-brand-oklch: oklch(48.41% 0.2929 277.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(77 13 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4d0dfd] text-[#4d0dfd] border-[#4d0dfd]">