#5635AF#5635AF

#5635AF is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.182 H 289.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5635AF
RGBrgb(86, 53, 175)
HSLhsl(256, 54%, 45%)
HSVhsv(256, 70%, 69%)
CMYKcmyk(50.9%, 69.7%, 0%, 31.4%)
CIE-LABlab(33.18, 44.63, -60.04)
CIE-LCHlch(33.18, 74.81, 306.62°)
OKLaboklab(44.35% 0.0599 -0.1723)
OKLCHoklch(44.35% 0.182 289.2)
XYZxyz(12.8465, 7.6192, 41.3429)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5635AF #8EAF35
analogous
#3551AF #5635AF #9335AF
triadic
#5635AF #AF5635 #35AF56
tetradic
#5635AF #AF3551 #8EAF35 #35AF93
square
#5635AF #AF3551 #8EAF35 #35AF93
split-complementary
#5635AF #AF9335 #51AF35
monochromatic
#281951 #3F2780 #5635AF #7556CC #9C85DA

Accessibility & contrast

On white

8.32
#5635AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5635AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5635AF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5635AF#FFFFFF#000000##FFFFFF
##5635AF1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#36546E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5635af;
/* rgb */ color: rgb(86, 53, 175);
/* oklch */ color: oklch(44.3% 0.182 289.2);
Tailwind
colors: {
  custom: {
    50: '#8e6fc8',
    500: '#5635af',
    950: '#000000',
  },
}
SCSS
$custom: #5635af;
$custom-light: #8e6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5635af",
  "rgb": {
    "r": 86,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 256.23,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.18242,
    "h": 289.2
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#5635AF
secondary
#B0C47C
accent
#DD4BB5
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5635AF

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

Preview Lab → · Contrast checker → · Palette generator →

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