#5930C2#5930C2

#5930C2 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.210 H 287.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5930C2
RGBrgb(89, 48, 194)
HSLhsl(257, 60%, 47%)
HSVhsv(257, 75%, 76%)
CMYKcmyk(54.1%, 75.3%, 0%, 23.9%)
CIE-LABlab(34.26, 53.05, -69.49)
CIE-LCHlch(34.26, 87.43, 307.36°)
OKLaboklab(45.7% 0.0643 -0.1999)
OKLCHoklch(45.7% 0.21 287.8)
XYZxyz(14.9115, 8.1320, 51.8124)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930C2 #99C230
analogous
#3050C2 #5930C2 #A230C2
triadic
#5930C2 #C25930 #30C259
tetradic
#5930C2 #C23050 #99C230 #30C2A2
square
#5930C2 #C23050 #99C230 #30C2A2
split-complementary
#5930C2 #C2A230 #50C230
monochromatic
#2C1860 #422491 #5930C2 #7C59D6 #A38AE2

Accessibility & contrast

On white

8.00
#5930C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5930C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930C2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930C2#FFFFFF#000000##FFFFFF
##5930C21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#2D5977
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5930c2;
/* rgb */ color: rgb(89, 48, 194);
/* oklch */ color: oklch(45.7% 0.210 287.8);
Tailwind
colors: {
  custom: {
    50: '#936dd6',
    500: '#5930c2',
    950: '#000000',
  },
}
SCSS
$custom: #5930c2;
$custom-light: #936dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5930c2",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 256.849,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45698,
    "c": 0.20999,
    "h": 287.8
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#5930C2
secondary
#B7CC82
accent
#E344B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5930C2

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

Preview Lab → · Contrast checker → · Palette generator →

#5930C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva