#5D25BC#5D25BC

#5D25BC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.214 H 292.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#5D25BC
RGBrgb(93, 37, 188)
HSLhsl(262, 67%, 44%)
HSVhsv(262, 80%, 74%)
CMYKcmyk(50.5%, 80.3%, 0%, 26.3%)
CIE-LABlab(32.44, 56.84, -68.94)
CIE-LCHlch(32.44, 89.35, 309.51°)
OKLaboklab(44.36% 0.0799 -0.198)
OKLCHoklch(44.36% 0.214 292)
XYZxyz(14.2503, 7.2806, 48.2216)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D25BC #84BC25
analogous
#2538BC #5D25BC #A925BC
triadic
#5D25BC #BC5D25 #25BC5D
tetradic
#5D25BC #BC2538 #84BC25 #25BCA9
square
#5D25BC #BC2538 #84BC25 #25BCA9
split-complementary
#5D25BC #BCA925 #38BC25
monochromatic
#2A1156 #441B89 #5D25BC #7C44DA #A077E4

Accessibility & contrast

On white

8.55
#5D25BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5D25BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D25BC
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D25BC#FFFFFF#000000##FFFFFF
##5D25BC1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#3D5171
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d25bc;
/* rgb */ color: rgb(93, 37, 188);
/* oklch */ color: oklch(44.4% 0.214 292.0);
Tailwind
colors: {
  custom: {
    50: '#9567d1',
    500: '#5d25bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d25bc;
$custom-light: #9567d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d25bc",
  "rgb": {
    "r": 93,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 262.252,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.21356,
    "h": 292
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#5D25BC
secondary
#AACC71
accent
#EA3EAA
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5D25BC

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

Preview Lab → · Contrast checker → · Palette generator →

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