#5832BE#5832BE

#5832BE is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.203 H 287.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5832BE
RGBrgb(88, 50, 190)
HSLhsl(256, 58%, 47%)
HSVhsv(256, 74%, 75%)
CMYKcmyk(53.7%, 73.7%, 0%, 25.5%)
CIE-LABlab(34.13, 50.80, -67.35)
CIE-LCHlch(34.13, 84.36, 307.03°)
OKLaboklab(45.48% 0.0623 -0.1937)
OKLCHoklch(45.48% 0.203 287.8)
XYZxyz(14.4566, 8.0729, 49.5017)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832BE #98BE32
analogous
#3252BE #5832BE #9E32BE
triadic
#5832BE #BE5832 #32BE58
tetradic
#5832BE #BE3252 #98BE32 #32BE9E
square
#5832BE #BE3252 #98BE32 #32BE9E
split-complementary
#5832BE #BE9E32 #52BE32
monochromatic
#2B195D #42258E #5832BE #7B5AD3 #A28AE0

Accessibility & contrast

On white

8.03
#5832BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5832BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832BE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832BE#FFFFFF#000000##FFFFFF
##5832BE1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#2F5875
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5832be;
/* rgb */ color: rgb(88, 50, 190);
/* oklch */ color: oklch(45.5% 0.203 287.8);
Tailwind
colors: {
  custom: {
    50: '#926ed3',
    500: '#5832be',
    950: '#000000',
  },
}
SCSS
$custom: #5832be;
$custom-light: #926ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5832be",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 190
  },
  "hsl": {
    "h": 256.286,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.20343,
    "h": 287.8
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#5832BE
secondary
#B7CA82
accent
#E246B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5832BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5832BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva