#5837D0#5837D0

#5837D0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.219 H 284.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5837D0
RGBrgb(88, 55, 208)
HSLhsl(253, 62%, 52%)
HSVhsv(253, 74%, 82%)
CMYKcmyk(57.7%, 73.6%, 0%, 18.4%)
CIE-LABlab(36.67, 53.43, -73.69)
CIE-LCHlch(36.67, 91.02, 305.94°)
OKLaboklab(47.77% 0.0542 -0.2123)
OKLCHoklch(47.77% 0.219 284.3)
XYZxyz(16.7724, 9.3601, 60.5851)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5837D0 #AFD037
analogous
#3763D0 #5837D0 #A537D0
triadic
#5837D0 #D05837 #37D058
tetradic
#5837D0 #D03763 #AFD037 #37D0A5
square
#5837D0 #D03763 #AFD037 #37D0A5
split-complementary
#5837D0 #D0A537 #63D037
monochromatic
#2E1B72 #4126A3 #5837D0 #8169DC #AB9AE7

Accessibility & contrast

On white

7.31
#5837D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5837D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5837D0
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5837D0#FFFFFF#000000##FFFFFF
##5837D01.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD4
Deuteranopia (green-blind)
#0051CD
Tritanopia (blue-blind)
#146281
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5837d0;
/* rgb */ color: rgb(88, 55, 208);
/* oklch */ color: oklch(47.8% 0.219 284.3);
Tailwind
colors: {
  custom: {
    50: '#9472e0',
    500: '#5837d0',
    950: '#000000',
  },
}
SCSS
$custom: #5837d0;
$custom-light: #9472e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5837d0",
  "rgb": {
    "r": 88,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 252.941,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47765,
    "c": 0.21909,
    "h": 284.3
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#5837D0
secondary
#C5D390
accent
#E543C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5837D0

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

Preview Lab → · Contrast checker → · Palette generator →

#5837D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva