#5630A2#5630A2

#5630A2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.173 H 292.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#5630A2
RGBrgb(86, 48, 162)
HSLhsl(260, 54%, 41%)
HSVhsv(260, 70%, 64%)
CMYKcmyk(46.9%, 70.4%, 0%, 36.5%)
CIE-LABlab(31.12, 43.60, -55.60)
CIE-LCHlch(31.12, 70.66, 308.11°)
OKLaboklab(42.53% 0.0671 -0.1592)
OKLCHoklch(42.53% 0.173 292.8)
XYZxyz(11.4145, 6.7006, 34.8673)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5630A2 #7CA230
analogous
#3043A2 #5630A2 #8F30A2
triadic
#5630A2 #A25630 #30A256
tetradic
#5630A2 #A23043 #7CA230 #30A28F
square
#5630A2 #A23043 #7CA230 #30A28F
split-complementary
#5630A2 #A28F30 #43A230
monochromatic
#241444 #3D2273 #5630A2 #7247C8 #9676D6

Accessibility & contrast

On white

8.97
#5630A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5630A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5630A2
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5630A2#FFFFFF#000000##FFFFFF
##5630A21.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#3F4D65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5630a2;
/* rgb */ color: rgb(86, 48, 162);
/* oklch */ color: oklch(42.5% 0.173 292.8);
Tailwind
colors: {
  custom: {
    50: '#8d6bbe',
    500: '#5630a2',
    950: '#000000',
  },
}
SCSS
$custom: #5630a2;
$custom-light: #8d6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5630a2",
  "rgb": {
    "r": 86,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 260,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42534,
    "c": 0.17279,
    "h": 292.8
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#5630A2
secondary
#A4BE6F
accent
#DE4AAC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5630A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5630A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva