#5F26BD#5F26BD

#5F26BD is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.214 H 292.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#5F26BD
RGBrgb(95, 38, 189)
HSLhsl(263, 67%, 45%)
HSVhsv(263, 80%, 74%)
CMYKcmyk(49.7%, 79.9%, 0%, 25.9%)
CIE-LABlab(32.90, 56.96, -68.75)
CIE-LCHlch(32.90, 89.28, 309.64°)
OKLaboklab(44.76% 0.082 -0.1974)
OKLCHoklch(44.76% 0.214 292.5)
XYZxyz(14.5952, 7.4927, 48.8115)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F26BD #84BD26
analogous
#2639BD #5F26BD #AB26BD
triadic
#5F26BD #BD5F26 #26BD5F
tetradic
#5F26BD #BD2639 #84BD26 #26BDAB
square
#5F26BD #BD2639 #84BD26 #26BDAB
split-complementary
#5F26BD #BDAB26 #39BD26
monochromatic
#2C1257 #451C8A #5F26BD #7E46DA #A279E4

Accessibility & contrast

On white

8.40
#5F26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5F26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F26BD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F26BD#FFFFFF#000000##FFFFFF
##5F26BD1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.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: #5f26bd;
/* rgb */ color: rgb(95, 38, 189);
/* oklch */ color: oklch(44.8% 0.214 292.5);
Tailwind
colors: {
  custom: {
    50: '#9668d2',
    500: '#5f26bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f26bd;
$custom-light: #9668d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f26bd",
  "rgb": {
    "r": 95,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 262.649,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44764,
    "c": 0.21379,
    "h": 292.5
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#5F26BD
secondary
#AACC73
accent
#E93EA9
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0714
muted
#7E7A83

Preview Lab

Preview with #5F26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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