#5834A2#5834A2

#5834A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.168 H 293.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#5834A2
RGBrgb(88, 52, 162)
HSLhsl(260, 51%, 42%)
HSVhsv(260, 68%, 64%)
CMYKcmyk(45.7%, 67.9%, 0%, 36.5%)
CIE-LABlab(32.12, 41.82, -53.95)
CIE-LCHlch(32.12, 68.26, 307.78°)
OKLaboklab(43.31% 0.0659 -0.1543)
OKLCHoklch(43.31% 0.168 293.1)
XYZxyz(11.7723, 7.1390, 34.9331)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834A2 #7EA234
analogous
#3447A2 #5834A2 #8F34A2
triadic
#5834A2 #A25834 #34A258
tetradic
#5834A2 #A23447 #7EA234 #34A28F
square
#5834A2 #A23447 #7EA234 #34A28F
split-complementary
#5834A2 #A28F34 #47A234
monochromatic
#261645 #3F2574 #5834A2 #754DC6 #997CD5

Accessibility & contrast

On white

8.65
#5834A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5834A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834A2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834A2#FFFFFF#000000##FFFFFF
##5834A21.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#424F66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5834a2;
/* rgb */ color: rgb(88, 52, 162);
/* oklch */ color: oklch(43.3% 0.168 293.1);
Tailwind
colors: {
  custom: {
    50: '#8e6ebe',
    500: '#5834a2',
    950: '#000000',
  },
}
SCSS
$custom: #5834a2;
$custom-light: #8e6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5834a2",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 259.636,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.16783,
    "h": 293.1
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#5834A2
secondary
#A6BE74
accent
#DB4DAC
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5834A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5834A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva