#4F00A8

A color in the Violet family

#4f00a8 is a color in the Violet family: RGB(79, 0, 168), HSL(268°, 100%, 33%), CMYK(53%, 100%, 0%, 34%). Closest named color: indigo. Contrast is 11.06:1 on white and 1.9:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4f00a8
RGBrgb(79 0 168)
RGB (legacy)rgb(79, 0, 168)
RGB %rgb(31% 0% 66%)
HSLhsl(268 100% 33%)
HSV / HSBhsv(268, 100%, 66%)
HWBhwb(268 0% 34%)
CMYKcmyk(53%, 100%, 0%, 34%)
CIELAB (D50)lab(24.04 54.31 -70.58)
LCHlch(24.04 89.05 307.58)
OKLaboklab(0.3845 0.0818 -0.1981)
OKLCHoklch(0.3845 0.2143 292.45)
Decimal5177512

Properties

Color ToneViolet
Closest named colorindigo ΔE 6.6
Closest web-safe color#660099
Hue268°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)33%
Brightness or Value (HSV)66%
Luminance (Rec.601 / Rec.709)17% / 11%
Relative luminance (WCAG)0.0449
Red / Green / Blue79 / 0 / 168

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.06:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.90: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 93.3 / -9.2 · As background with white / black text: Lc -97.4 / 10.6

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: #4f00a8;
  --color-brand-oklch: oklch(38.45% 0.2143 292.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(79 0 168 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4f00a8] text-[#4f00a8] border-[#4f00a8]">