#5E25BC#5E25BC

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

Color values

HEX#5E25BC
RGBrgb(94, 37, 188)
HSLhsl(263, 67%, 44%)
HSVhsv(263, 80%, 74%)
CMYKcmyk(50%, 80.3%, 0%, 26.3%)
CIE-LABlab(32.55, 56.97, -68.74)
CIE-LCHlch(32.55, 89.28, 309.65°)
OKLaboklab(44.47% 0.0815 -0.1974)
OKLCHoklch(44.47% 0.214 292.4)
XYZxyz(14.3522, 7.3331, 48.2264)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E25BC #83BC25
analogous
#2538BC #5E25BC #AA25BC
triadic
#5E25BC #BC5E25 #25BC5E
tetradic
#5E25BC #BC2538 #83BC25 #25BCAA
square
#5E25BC #BC2538 #83BC25 #25BCAA
split-complementary
#5E25BC #BCAA25 #38BC25
monochromatic
#2B1156 #441B89 #5E25BC #7D44DA #A077E4

Accessibility & contrast

On white

8.51
#5E25BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5E25BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E25BC
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E25BC#FFFFFF#000000##FFFFFF
##5E25BC1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#3F5171
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e25bc;
/* rgb */ color: rgb(94, 37, 188);
/* oklch */ color: oklch(44.5% 0.214 292.4);
Tailwind
colors: {
  custom: {
    50: '#9667d1',
    500: '#5e25bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e25bc;
$custom-light: #9667d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e25bc",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 262.649,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.21358,
    "h": 292.4
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E25BC

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

Preview Lab → · Contrast checker → · Palette generator →

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