Accessibility
Vs white / black
13.7:1 · 1.53:1
Sources
Codes
HEX
#500066
RGB
rgb(80, 0, 102)
RGBA
rgba(80, 0, 102, 1)
HSL
hsl(287, 100%, 20%)
HSLA
hsla(287, 100%, 20%, 1)
HSV
hsv(287, 100%, 40%)
LAB
lab(18.65% 46.43 -38.19)
LCH
lch(18.65% 60.12 320.56)
OKLAB
oklab(0.3201 0.1133 -0.108)
OKLCH
oklch(0.3201 0.1565 316.37)
XYZ
xyz(5.71, 2.67, 12.78)
CMYK
cmyk(22%, 100%, 0%, 60%)
CSS
color: #500066;
CSS variable
--color-500066: #500066;
SCSS
$color-500066: #500066;
JavaScript
const color = "#500066";
TypeScript
const color: string = "#500066";
React
style={{ backgroundColor: "#500066" }}
JSON
{ "hex": "#500066", "rgb": { "r": 80, "g": 0, "b": 102 }, "oklch": "oklch(0.3201 0.1565 316.37)" }
Export
:root {
--#500066-1: #500066;
}Design systems
An arbitrary HEX is not an official Tailwind, Material, or Bootstrap color. Distance is CIEDE2000.
Nearest Tailwind color
purple-950
Noticeably different · ΔE 4.3 · #3B0764
Nearest CSS named color
Indigo
Very different · ΔE 5.55 · #4B0082
Nearest Material color
purple-900
Very different · ΔE 7.5 · #4A148C
Nearest Bootstrap color
dark
Very different · ΔE 18.61 · #212529
OKLCH
Generated in OKLCH from this hex. Not an official Tailwind scale unless the hex itself is a Tailwind token.
Palette
Full scale from light tints through the base color into deep shades
Palette
Mixed toward white — soft backgrounds and highlights
Palette
Mixed toward black — depth, text, and emphasis
Palette
Mixed toward neutral grey — muted UI surfaces
Harmony
Opposite on the color wheel for contrast
Harmony
Neighbors that sit comfortably together
Harmony
Evenly spaced triad for vibrant sets
Harmony
Base plus two accents beside the complement
Harmony
Same hue, varied lightness and saturation
Using this color
#500066 (#500066) sits in the purple family at about 287° hue, 100% saturation, and 20% lightness. Contrast is 13.7:1 on white and 1.53:1 on black, so white labels read more clearly on the swatch itself. Nearest Tailwind token: purple-950 (approximation unless the hex is an official scale stop).
Sensible jobs for this swatch
On a black or near-black UI, #500066 is 1.53:1. Prefer it as a fill, border, or large heading rather than 16px copy.
Family context: Imagination, luxury, and wisdom. Frequently used for premium, creative, and tech brands. Common uses still include buttons, charts, and accents in the Purple range — always verify the pair for this exact hex in the contrast checker.
Related
Nearby colors from the library by perceptual distance