#5832AF#5832AF

#5832AF is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.186 H 290.7°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#5832AF
RGBrgb(88, 50, 175)
HSLhsl(258, 56%, 44%)
HSVhsv(258, 71%, 69%)
CMYKcmyk(49.7%, 71.4%, 0%, 31.4%)
CIE-LABlab(32.81, 46.57, -60.63)
CIE-LCHlch(32.81, 76.45, 307.53°)
OKLaboklab(44.13% 0.0656 -0.174)
OKLCHoklch(44.13% 0.186 290.7)
XYZxyz(12.9008, 7.4505, 41.3075)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832AF #89AF32
analogous
#324BAF #5832AF #9732AF
triadic
#5832AF #AF5832 #32AF58
tetradic
#5832AF #AF324B #89AF32 #32AF97
square
#5832AF #AF324B #89AF32 #32AF97
split-complementary
#5832AF #AF9732 #4BAF32
monochromatic
#281750 #40247F #5832AF #7751CD #9C81DB

Accessibility & contrast

On white

8.43
#5832AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5832AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832AF
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832AF#FFFFFF#000000##FFFFFF
##5832AF1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#3B526D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5832af;
/* rgb */ color: rgb(88, 50, 175);
/* oklch */ color: oklch(44.1% 0.186 290.7);
Tailwind
colors: {
  custom: {
    50: '#8f6dc8',
    500: '#5832af',
    950: '#000000',
  },
}
SCSS
$custom: #5832af;
$custom-light: #8f6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5832af",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 258.24,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44134,
    "c": 0.18591,
    "h": 290.7
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#5832AF
secondary
#ADC479
accent
#DF49B1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5832AF

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

Preview Lab → · Contrast checker → · Palette generator →

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