#5E258F color
The hex color #5E258F is a dark, moderate violet.
In the RGB color model it is made of 36.9% red, 14.5% green and 56.1% blue (94, 37, 143).
Its hue angle is 272°, with 59% saturation and 35% lightness. For print, the CMYK equivalent is 34% cyan, 74% magenta, 0% yellow and 44% black.
The closest named color is Intergalactic Settlement (#5B1E8B), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.83:1).
#5E258F color codes
| HEX | #5E258F | |
|---|---|---|
| RGB | rgb(94, 37, 143) | |
| RGB percent | rgb(36.9%, 14.5%, 56.1%) | |
| HSL | hsl(272, 59%, 35%) | |
| HSV / HSB | hsv(272, 74%, 56%) | |
| CMYK | cmyk(34%, 74%, 0%, 44%) | |
| CIE LAB | lab(28.61, 45.61, -48.03) | |
| CIE LCH | lch(28.61, 66.23, 313.52) | |
| CIE XYZ | xyz(10.234, 5.686, 26.54) | |
| Decimal | 6169999 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E258F, 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 #5E258F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.83:1 | Pass | Pass | Pass |
| #5E258F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.83:1 | Pass | Pass | Pass |
| Sample text | 2.14: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 #5E258F looks to people with the most common types of color vision deficiency.
#004292Protanopia
no red cones#00438dDeuteranopia
no green cones#553f58Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #5e258f; }
.text { color: #5e258f; }
.border { border: 2px solid #5e258f; }
.transparent { background-color: rgb(94 37 143 / 50%); }
.gradient { background: linear-gradient(to right, #5e258f, #8f258b); }
Similar colors
#5b1e8bIntergalactic Settlement#63209bWild Violet#632f92Lucid Dreams#5c2e88Purple Patch#662288Sapphire Siren#572e89Night Fever#663399Rebecca Purple#661188Extraviolet
Questions
- What color is #5E258F?
- #5E258F is a dark, moderate violet, closest to the named color Intergalactic Settlement. It belongs to the purple family of colors.
- What is the RGB value of #5E258F?
- The RGB value is 94, 37, 143: 94 red, 37 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #5E258F?
- The complementary color is #568F25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E258F?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.83:1. WCAG asks for at least 4.5:1 for normal text.