#5926B0#5926B0

#5926B0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.200 H 292.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#5926B0
RGBrgb(89, 38, 176)
HSLhsl(262, 64%, 42%)
HSVhsv(262, 78%, 69%)
CMYKcmyk(49.4%, 78.4%, 0%, 31%)
CIE-LABlab(30.98, 52.75, -64.22)
CIE-LCHlch(30.98, 83.10, 309.40°)
OKLaboklab(42.9% 0.0769 -0.1844)
OKLCHoklch(42.9% 0.2 292.6)
XYZxyz(12.6472, 6.6442, 41.6820)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5926B0 #7DB026
analogous
#2638B0 #5926B0 #9E26B0
triadic
#5926B0 #B05926 #26B059
tetradic
#5926B0 #B02638 #7DB026 #26B09E
square
#5926B0 #B02638 #7DB026 #26B09E
split-complementary
#5926B0 #B09E26 #38B026
monochromatic
#26104B #401B7E #5926B0 #763ED5 #9A70E0

Accessibility & contrast

On white

9.02
#5926B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5926B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5926B0
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5926B0#FFFFFF#000000##FFFFFF
##5926B01.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#3D4D6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5926b0;
/* rgb */ color: rgb(89, 38, 176);
/* oklch */ color: oklch(42.9% 0.200 292.6);
Tailwind
colors: {
  custom: {
    50: '#9167c9',
    500: '#5926b0',
    950: '#000000',
  },
}
SCSS
$custom: #5926b0;
$custom-light: #9167c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5926b0",
  "rgb": {
    "r": 89,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 262.174,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.429,
    "c": 0.19975,
    "h": 292.6
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#5926B0
secondary
#A5C76B
accent
#E740AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5926B0

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

Preview Lab → · Contrast checker → · Palette generator →

#5926B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva