#5834BF#5834BF

#5834BF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.202 H 287.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5834BF
RGBrgb(88, 52, 191)
HSLhsl(256, 57%, 48%)
HSVhsv(256, 73%, 75%)
CMYKcmyk(53.9%, 72.8%, 0%, 25.1%)
CIE-LABlab(34.58, 50.08, -67.20)
CIE-LCHlch(34.58, 83.81, 306.69°)
OKLaboklab(45.82% 0.0604 -0.1932)
OKLCHoklch(45.82% 0.202 287.4)
XYZxyz(14.6537, 8.2915, 50.1084)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834BF #9BBF34
analogous
#3455BF #5834BF #9E34BF
triadic
#5834BF #BF5834 #34BF58
tetradic
#5834BF #BF3455 #9BBF34 #34BF9E
square
#5834BF #BF3455 #9BBF34 #34BF9E
split-complementary
#5834BF #BF9E34 #55BF34
monochromatic
#2C1A5F #42278F #5834BF #7C5DD3 #A38DE0

Accessibility & contrast

On white

7.90
#5834BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5834BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834BF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834BF#FFFFFF#000000##FFFFFF
##5834BF1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#2D5A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5834bf;
/* rgb */ color: rgb(88, 52, 191);
/* oklch */ color: oklch(45.8% 0.202 287.4);
Tailwind
colors: {
  custom: {
    50: '#926fd3',
    500: '#5834bf',
    950: '#000000',
  },
}
SCSS
$custom: #5834bf;
$custom-light: #926fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5834bf",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 255.54,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45821,
    "c": 0.20248,
    "h": 287.4
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#5834BF
secondary
#B8CA84
accent
#E047B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5834BF

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

Preview Lab → · Contrast checker → · Palette generator →

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