#3D0DFD

A color in the Violet family

#3d0dfd is a color in the Violet family: RGB(61, 13, 253), HSL(252°, 98%, 52%), CMYK(76%, 95%, 0%, 1%). Closest named color: blue. Contrast is 7.85:1 on white and 2.67:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#3d0dfd
RGBrgb(61 13 253)
RGB (legacy)rgb(61, 13, 253)
RGB %rgb(24% 5% 99%)
HSLhsl(252 98% 52%)
HSV / HSBhsv(252, 95%, 99%)
HWBhwb(252 5% 1%)
CMYKcmyk(76%, 95%, 0%, 1%)
CIELAB (D50)lab(32.44 67.35 -106.04)
LCHlch(32.44 125.62 302.42)
OKLaboklab(0.4734 0.0161 -0.2962)
OKLCHoklch(0.4734 0.2967 273.11)
Decimal4001277

Properties

Color ToneViolet
Closest named colorblue ΔE 5.5
Closest web-safe color#3300ff
Hue252°
Saturation (HSL / HSV)98% / 95%
Lightness (HSL)52%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)21% / 16%
Relative luminance (WCAG)0.0837
Red / Green / Blue61 / 13 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.85:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.67: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 84.6 / -17.4 · As background with white / black text: Lc -89.5 / 19.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: #3d0dfd;
  --color-brand-oklch: oklch(47.34% 0.2967 273.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(61 13 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3d0dfd] text-[#3d0dfd] border-[#3d0dfd]">