#4F238D color
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 | |
|---|---|---|
| RGB | rgb(79, 35, 141) | |
| RGB percent | rgb(31%, 13.7%, 55.3%) | |
| HSL | hsl(265, 60%, 35%) | |
| HSV / HSB | hsv(265, 75%, 55%) | |
| CMYK | cmyk(44%, 75%, 0%, 45%) | |
| CIE LAB | lab(26.12, 43.2, -50.92) | |
| CIE LCH | lch(26.12, 66.77, 310.31) | |
| CIE XYZ | xyz(8.632, 4.787, 25.663) | |
| Decimal | 5186445 | |
| Short hex | None (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 #4F238D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.96:1 | Fail | Fail | Fail |
| Sample text | 10.73:1 | Pass | Pass | Pass |
| #4F238D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.73:1 | Pass | Pass | Pass |
| Sample text | 1.96:1 | Fail | Fail | Fail |
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.
#003e90Protanopia
no red cones#003c8bDeuteranopia
no green cones#3f3e56Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
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); }
Similar colors
#4b1e87Occult#442288Galactic Civilization#5b1e8bIntergalactic Settlement#572e89Night Fever#472e97Galactic Purple#63209bWild Violet#5c2e88Purple Patch#632f92Lucid Dreams
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.