#5E26B0#5E26B0

#5E26B0 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.200 H 295.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5E26B0
RGBrgb(94, 38, 176)
HSLhsl(264, 64%, 42%)
HSVhsv(264, 78%, 69%)
CMYKcmyk(46.6%, 78.4%, 0%, 31%)
CIE-LABlab(31.58, 53.48, -63.22)
CIE-LCHlch(31.58, 82.80, 310.23°)
OKLaboklab(43.45% 0.0845 -0.1813)
OKLCHoklch(43.45% 0.2 295)
XYZxyz(13.1436, 6.9001, 41.7052)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E26B0 #78B026
analogous
#2633B0 #5E26B0 #A326B0
triadic
#5E26B0 #B05E26 #26B05E
tetradic
#5E26B0 #B02633 #78B026 #26B0A3
square
#5E26B0 #B02633 #78B026 #26B0A3
split-complementary
#5E26B0 #B0A326 #33B026
monochromatic
#28104B #431B7E #5E26B0 #7B3ED5 #9E70E0

Accessibility & contrast

On white

8.82
#5E26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5E26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E26B0
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E26B0#FFFFFF#000000##FFFFFF
##5E26B01.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e26b0;
/* rgb */ color: rgb(94, 38, 176);
/* oklch */ color: oklch(43.4% 0.200 295.0);
Tailwind
colors: {
  custom: {
    50: '#9467c9',
    500: '#5e26b0',
    950: '#000000',
  },
}
SCSS
$custom: #5e26b0;
$custom-light: #9467c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e26b0",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 264.348,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43449,
    "c": 0.19998,
    "h": 295
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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