#5D26B0#5D26B0

#5D26B0 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.200 H 294.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#5D26B0
RGBrgb(93, 38, 176)
HSLhsl(264, 64%, 42%)
HSVhsv(264, 78%, 69%)
CMYKcmyk(47.2%, 78.4%, 0%, 31%)
CIE-LABlab(31.46, 53.33, -63.42)
CIE-LCHlch(31.46, 82.86, 310.06°)
OKLaboklab(43.34% 0.083 -0.1819)
OKLCHoklch(43.34% 0.2 294.5)
XYZxyz(13.0416, 6.8476, 41.7005)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D26B0 #79B026
analogous
#2634B0 #5D26B0 #A226B0
triadic
#5D26B0 #B05D26 #26B05D
tetradic
#5D26B0 #B02634 #79B026 #26B0A2
square
#5D26B0 #B02634 #79B026 #26B0A2
split-complementary
#5D26B0 #B0A226 #34B026
monochromatic
#28104B #421B7E #5D26B0 #7A3ED5 #9D70E0

Accessibility & contrast

On white

8.86
#5D26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5D26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D26B0
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D26B0#FFFFFF#000000##FFFFFF
##5D26B01.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#444D6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d26b0;
/* rgb */ color: rgb(93, 38, 176);
/* oklch */ color: oklch(43.3% 0.200 294.5);
Tailwind
colors: {
  custom: {
    50: '#9367c9',
    500: '#5d26b0',
    950: '#000000',
  },
}
SCSS
$custom: #5d26b0;
$custom-light: #9367c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d26b0",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 263.913,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43338,
    "c": 0.19992,
    "h": 294.5
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#5D26B0
secondary
#A2C76B
accent
#E740A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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