#5627AF#5627AF

#5627AF is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.198 H 291.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#5627AF
RGBrgb(86, 39, 175)
HSLhsl(261, 64%, 42%)
HSVhsv(261, 78%, 69%)
CMYKcmyk(50.9%, 77.7%, 0%, 31.4%)
CIE-LABlab(30.70, 51.61, -64.10)
CIE-LCHlch(30.70, 82.30, 308.84°)
OKLaboklab(42.59% 0.0718 -0.1841)
OKLCHoklch(42.59% 0.198 291.3)
XYZxyz(12.2989, 6.5241, 41.1604)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5627AF #80AF27
analogous
#273CAF #5627AF #9A27AF
triadic
#5627AF #AF5627 #27AF56
tetradic
#5627AF #AF273C #80AF27 #27AF9A
square
#5627AF #AF273C #80AF27 #27AF9A
split-complementary
#5627AF #AF9A27 #3CAF27
monochromatic
#25114B #3D1C7D #5627AF #733FD4 #9771DF

Accessibility & contrast

On white

9.11
#5627AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5627AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5627AF
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5627AF#FFFFFF#000000##FFFFFF
##5627AF1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#374D6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5627af;
/* rgb */ color: rgb(86, 39, 175);
/* oklch */ color: oklch(42.6% 0.198 291.3);
Tailwind
colors: {
  custom: {
    50: '#8f67c8',
    500: '#5627af',
    950: '#000000',
  },
}
SCSS
$custom: #5627af;
$custom-light: #8f67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5627af",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 260.735,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42594,
    "c": 0.19763,
    "h": 291.3
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#5627AF
secondary
#A7C66B
accent
#E741AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5627AF

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

Preview Lab → · Contrast checker → · Palette generator →

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