#4F238D color

#4F238D rgb(79, 35, 141)
Shades of purple

The hex color #4F238D is a dark, moderate violet.

In the RGB color model it is made of 31% red, 13.7% green and 55.3% blue (79, 35, 141).

Its hue angle is 265°, with 60% saturation and 35% lightness. For print, the CMYK equivalent is 44% cyan, 75% magenta, 0% yellow and 45% black.

The closest named color is Occult (#4B1E87), a difference of 1.4 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 10.73:1).

#4F238D color codes

HEX#4F238D
RGBrgb(79, 35, 141)
RGB percentrgb(31%, 13.7%, 55.3%)
HSLhsl(265, 60%, 35%)
HSV / HSBhsv(265, 75%, 55%)
CMYKcmyk(44%, 75%, 0%, 45%)
CIE LABlab(26.12, 43.2, -50.92)
CIE LCHlch(26.12, 66.77, 310.31)
CIE XYZxyz(8.632, 4.787, 25.663)
Decimal5186445
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4F238D, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #4F238DRatioAAAAAAA large
Sample text1.96:1FailFailFail
Sample text10.73:1PassPassPass
#4F238D as text onRatioAAAAAAA large
Sample text10.73:1PassPassPass
Sample text1.96:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #4F238D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4f238d; }
.text { color: #4f238d; }
.border { border: 2px solid #4f238d; }
.transparent { background-color: rgb(79 35 141 / 50%); }
.gradient { background: linear-gradient(to right, #4f238d, #84238d); }
Background
Text color
Border

Similar colors

Closest common color name: Indigo.

Questions

What color is #4F238D?
#4F238D is a dark, moderate violet, closest to the named color Occult. It belongs to the purple family of colors.
What is the RGB value of #4F238D?
The RGB value is 79, 35, 141: 79 red, 35 green and 141 blue on a 0 to 255 scale.
What is the complementary color of #4F238D?
The complementary color is #618D23, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4F238D?
White text. Black text has a contrast ratio of 1.96:1 and white text 10.73:1. WCAG asks for at least 4.5:1 for normal text.