#5525C4#5525C4

#5525C4 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.222 H 287.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#5525C4
RGBrgb(85, 37, 196)
HSLhsl(258, 68%, 46%)
HSVhsv(258, 81%, 77%)
CMYKcmyk(56.6%, 81.1%, 0%, 23.1%)
CIE-LABlab(32.35, 57.97, -73.83)
CIE-LCHlch(32.35, 93.87, 308.14°)
OKLaboklab(44.33% 0.0649 -0.2126)
OKLCHoklch(44.33% 0.222 287)
XYZxyz(14.3687, 7.2391, 52.8540)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525C4 #94C425
analogous
#2545C4 #5525C4 #A425C4
triadic
#5525C4 #C45525 #25C455
tetradic
#5525C4 #C42545 #94C425 #25C4A4
square
#5525C4 #C42545 #94C425 #25C4A4
split-complementary
#5525C4 #C4A425 #45C425
monochromatic
#28125D #3F1B91 #5525C4 #7649DD #9D7DE6

Accessibility & contrast

On white

8.58
#5525C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5525C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5525C4
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525C4#FFFFFF#000000##FFFFFF
##5525C41.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#1F5576
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5525c4;
/* rgb */ color: rgb(85, 37, 196);
/* oklch */ color: oklch(44.3% 0.222 287.0);
Tailwind
colors: {
  custom: {
    50: '#9267d7',
    500: '#5525c4',
    950: '#000000',
  },
}
SCSS
$custom: #5525c4;
$custom-light: #9267d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5525c4",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 258.113,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44329,
    "c": 0.22229,
    "h": 287
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#5525C4
secondary
#B4CF76
accent
#EB3DB6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5525C4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5525C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva