#4F00A3

A color in the Violet family

#4f00a3 is a color in the Violet family: RGB(79, 0, 163), HSL(269°, 100%, 32%), CMYK(52%, 100%, 0%, 36%). Closest named color: indigo. Contrast is 11.28:1 on white and 1.86:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4f00a3
RGBrgb(79 0 163)
RGB (legacy)rgb(79, 0, 163)
RGB %rgb(31% 0% 64%)
HSLhsl(269 100% 32%)
HSV / HSBhsv(269, 100%, 64%)
HWBhwb(269 0% 36%)
CMYKcmyk(52%, 100%, 0%, 36%)
CIELAB (D50)lab(23.54 53.4 -68.39)
LCHlch(23.54 86.76 307.98)
OKLaboklab(0.379 0.0844 -0.192)
OKLCHoklch(0.379 0.2097 293.72)
Decimal5177507

Properties

Color ToneViolet
Closest named colorindigo ΔE 5.7
Closest web-safe color#660099
Hue269°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)32%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)17% / 11%
Relative luminance (WCAG)0.0431
Red / Green / Blue79 / 0 / 163

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.28:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.86: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.8 / -8.8 · As background with white / black text: Lc -97.8 / 10.2

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