#5631AF#5631AF

#5631AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.187 H 289.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5631AF
RGBrgb(86, 49, 175)
HSLhsl(258, 56%, 44%)
HSVhsv(258, 72%, 69%)
CMYKcmyk(50.9%, 72%, 0%, 31.4%)
CIE-LABlab(32.41, 46.75, -61.29)
CIE-LCHlch(32.41, 77.08, 307.34°)
OKLaboklab(43.8% 0.0636 -0.176)
OKLCHoklch(43.8% 0.187 289.9)
XYZxyz(12.6717, 7.2697, 41.2846)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5631AF #8AAF31
analogous
#314BAF #5631AF #9531AF
triadic
#5631AF #AF5631 #31AF56
tetradic
#5631AF #AF314B #8AAF31 #31AF95
square
#5631AF #AF314B #8AAF31 #31AF95
split-complementary
#5631AF #AF9531 #4BAF31
monochromatic
#27164F #3F247F #5631AF #754FCE #9A7FDB

Accessibility & contrast

On white

8.56
#5631AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5631AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5631AF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5631AF#FFFFFF#000000##FFFFFF
##5631AF1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#37526D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5631af;
/* rgb */ color: rgb(86, 49, 175);
/* oklch */ color: oklch(43.8% 0.187 289.9);
Tailwind
colors: {
  custom: {
    50: '#8e6cc8',
    500: '#5631af',
    950: '#000000',
  },
}
SCSS
$custom: #5631af;
$custom-light: #8e6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5631af",
  "rgb": {
    "r": 86,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 257.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43801,
    "c": 0.18708,
    "h": 289.9
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#5631AF
secondary
#AEC478
accent
#E048B3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5631AF

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

Preview Lab → · Contrast checker → · Palette generator →

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