#5F25BD#5F25BD

#5F25BD is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.7% C 0.215 H 292.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5F25BD
RGBrgb(95, 37, 189)
HSLhsl(263, 67%, 44%)
HSVhsv(263, 80%, 74%)
CMYKcmyk(49.7%, 80.4%, 0%, 25.9%)
CIE-LABlab(32.77, 57.36, -68.98)
CIE-LCHlch(32.77, 89.71, 309.75°)
OKLaboklab(44.67% 0.0827 -0.1981)
OKLCHoklch(44.67% 0.215 292.6)
XYZxyz(14.5636, 7.4296, 48.8010)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F25BD #83BD25
analogous
#2537BD #5F25BD #AB25BD
triadic
#5F25BD #BD5F25 #25BD5F
tetradic
#5F25BD #BD2537 #83BD25 #25BDAB
square
#5F25BD #BD2537 #83BD25 #25BDAB
split-complementary
#5F25BD #BDAB25 #37BD25
monochromatic
#2C1157 #451B8A #5F25BD #7E45DB #A178E5

Accessibility & contrast

On white

8.45
#5F25BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5F25BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F25BD
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F25BD#FFFFFF#000000##FFFFFF
##5F25BD1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#405272
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5f25bd;
/* rgb */ color: rgb(95, 37, 189);
/* oklch */ color: oklch(44.7% 0.215 292.6);
Tailwind
colors: {
  custom: {
    50: '#9668d2',
    500: '#5f25bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f25bd;
$custom-light: #9668d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f25bd",
  "rgb": {
    "r": 95,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 262.895,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44668,
    "c": 0.21466,
    "h": 292.6
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#5F25BD
secondary
#AACC72
accent
#EA3EA8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0714
muted
#7E7A83

Preview Lab

Preview with #5F25BD

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

Preview Lab → · Contrast checker → · Palette generator →

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