#5634A2#5634A2

#5634A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.168 H 292.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#5634A2
RGBrgb(86, 52, 162)
HSLhsl(259, 51%, 42%)
HSVhsv(259, 68%, 64%)
CMYKcmyk(46.9%, 67.9%, 0%, 36.5%)
CIE-LABlab(31.90, 41.43, -54.31)
CIE-LCHlch(31.90, 68.31, 307.34°)
OKLaboklab(43.1% 0.063 -0.1555)
OKLCHoklch(43.1% 0.168 292.1)
XYZxyz(11.5855, 7.0427, 34.9244)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634A2 #80A234
analogous
#3449A2 #5634A2 #8D34A2
triadic
#5634A2 #A25634 #34A256
tetradic
#5634A2 #A23449 #80A234 #34A28D
square
#5634A2 #A23449 #80A234 #34A28D
split-complementary
#5634A2 #A28D34 #49A234
monochromatic
#251645 #3D2574 #5634A2 #734DC6 #977CD5

Accessibility & contrast

On white

8.72
#5634A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5634A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634A2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634A2#FFFFFF#000000##FFFFFF
##5634A21.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#3F4F66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5634a2;
/* rgb */ color: rgb(86, 52, 162);
/* oklch */ color: oklch(43.1% 0.168 292.1);
Tailwind
colors: {
  custom: {
    50: '#8c6ebe',
    500: '#5634a2',
    950: '#000000',
  },
}
SCSS
$custom: #5634a2;
$custom-light: #8c6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5634a2",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 258.545,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.16777,
    "h": 292.1
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#5634A2
secondary
#A7BE74
accent
#DB4DAF
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5634A2

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

Preview Lab → · Contrast checker → · Palette generator →

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