#5F25BC#5F25BC

#5F25BC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.214 H 292.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#5F25BC
RGBrgb(95, 37, 188)
HSLhsl(263, 67%, 44%)
HSVhsv(263, 80%, 74%)
CMYKcmyk(49.5%, 80.3%, 0%, 26.3%)
CIE-LABlab(32.67, 57.10, -68.54)
CIE-LCHlch(32.67, 89.21, 309.80°)
OKLaboklab(44.57% 0.083 -0.1968)
OKLCHoklch(44.57% 0.214 292.9)
XYZxyz(14.4554, 7.3864, 48.2313)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F25BC #82BC25
analogous
#2537BC #5F25BC #AB25BC
triadic
#5F25BC #BC5F25 #25BC5F
tetradic
#5F25BC #BC2537 #82BC25 #25BCAB
square
#5F25BC #BC2537 #82BC25 #25BCAB
split-complementary
#5F25BC #BCAB25 #37BC25
monochromatic
#2B1156 #451B89 #5F25BC #7E44DA #A177E4

Accessibility & contrast

On white

8.48
#5F25BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5F25BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F25BC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F25BC#FFFFFF#000000##FFFFFF
##5F25BC1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f25bc;
/* rgb */ color: rgb(95, 37, 188);
/* oklch */ color: oklch(44.6% 0.214 292.9);
Tailwind
colors: {
  custom: {
    50: '#9668d1',
    500: '#5f25bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f25bc;
$custom-light: #9668d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f25bc",
  "rgb": {
    "r": 95,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 263.046,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44574,
    "c": 0.21361,
    "h": 292.9
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#5F25BC
secondary
#A9CC71
accent
#EA3EA8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #5F25BC

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

Preview Lab → · Contrast checker → · Palette generator →

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