#5C259F#5C259F

#5C259F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.183 H 298.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#5C259F
RGBrgb(92, 37, 159)
HSLhsl(267, 62%, 38%)
HSVhsv(267, 77%, 62%)
CMYKcmyk(42.1%, 76.7%, 0%, 37.6%)
CIE-LABlab(29.67, 49.25, -56.11)
CIE-LCHlch(29.67, 74.66, 311.27°)
OKLaboklab(41.59% 0.087 -0.1605)
OKLCHoklch(41.59% 0.183 298.5)
XYZxyz(11.3316, 6.1015, 33.3749)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C259F #689F25
analogous
#252B9F #5C259F #99259F
triadic
#5C259F #9F5C25 #259F5C
tetradic
#5C259F #9F252B #689F25 #259F99
square
#5C259F #9F252B #689F25 #259F99
split-complementary
#5C259F #9F9925 #2B9F25
monochromatic
#230E3C #3F196D #5C259F #7932CF #9964DB

Accessibility & contrast

On white

9.46
#5C259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5C259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C259F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C259F#FFFFFF#000000##FFFFFF
##5C259F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4B4561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c259f;
/* rgb */ color: rgb(92, 37, 159);
/* oklch */ color: oklch(41.6% 0.183 298.5);
Tailwind
colors: {
  custom: {
    50: '#9166bc',
    500: '#5c259f',
    950: '#000000',
  },
}
SCSS
$custom: #5c259f;
$custom-light: #9166bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c259f",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 267.049,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41593,
    "c": 0.18256,
    "h": 298.5
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#5C259F
secondary
#95C05F
accent
#E5429C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C259F

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

Preview Lab → · Contrast checker → · Palette generator →

#5C259F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva