#5F2092#5F2092

#5F2092 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.175 H 304.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#5F2092
RGBrgb(95, 32, 146)
HSLhsl(273, 64%, 35%)
HSVhsv(273, 78%, 57%)
CMYKcmyk(34.9%, 78.1%, 0%, 42.7%)
CIE-LABlab(28.22, 48.70, -50.49)
CIE-LCHlch(28.22, 70.15, 313.97°)
OKLaboklab(40.33% 0.0992 -0.1438)
OKLCHoklch(40.33% 0.175 304.6)
XYZxyz(10.4229, 5.5413, 27.7090)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2092 #539220
analogous
#262092 #5F2092 #92208C
triadic
#5F2092 #925F20 #20925F
tetradic
#5F2092 #922620 #539220 #208C92
square
#5F2092 #922620 #539220 #208C92
split-complementary
#5F2092 #8C9220 #209226
monochromatic
#1E0A2E #3E1560 #5F2092 #802BC4 #9D53D9

Accessibility & contrast

On white

9.96
#5F2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5F2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2092
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2092#FFFFFF#000000##FFFFFF
##5F20921.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#553D58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5f2092;
/* rgb */ color: rgb(95, 32, 146);
/* oklch */ color: oklch(40.3% 0.175 304.6);
Tailwind
colors: {
  custom: {
    50: '#9263b3',
    500: '#5f2092',
    950: '#000000',
  },
}
SCSS
$custom: #5f2092;
$custom-light: #9263b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2092",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 273.158,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.17474,
    "h": 304.6
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#5F2092
secondary
#81BD51
accent
#E7418B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5F2092

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

Preview Lab → · Contrast checker → · Palette generator →

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