#6535A4#6535A4

#6535A4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.170 H 299.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6535A4
RGBrgb(101, 53, 164)
HSLhsl(266, 51%, 43%)
HSVhsv(266, 68%, 64%)
CMYKcmyk(38.4%, 67.7%, 0%, 35.7%)
CIE-LABlab(33.97, 44.45, -52.09)
CIE-LCHlch(33.97, 68.48, 310.48°)
OKLaboklab(45.02% 0.0832 -0.1484)
OKLCHoklch(45.02% 0.17 299.3)
XYZxyz(13.3391, 7.9931, 35.9548)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535A4 #74A435
analogous
#353CA4 #6535A4 #9C35A4
triadic
#6535A4 #A46535 #35A465
tetradic
#6535A4 #A4353C #74A435 #35A49C
square
#6535A4 #A4353C #74A435 #35A49C
split-complementary
#6535A4 #A49C35 #3CA435
monochromatic
#2C1747 #492676 #6535A4 #8350C6 #A47ED5

Accessibility & contrast

On white

8.08
#6535A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6535A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6535A4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6535A4#FFFFFF#000000##FFFFFF
##6535A41.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#574F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6535a4;
/* rgb */ color: rgb(101, 53, 164);
/* oklch */ color: oklch(45.0% 0.170 299.3);
Tailwind
colors: {
  custom: {
    50: '#9670c0',
    500: '#6535a4',
    950: '#000000',
  },
}
SCSS
$custom: #6535a4;
$custom-light: #9670c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6535a4",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 265.946,
    "s": 51.152,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45022,
    "c": 0.17016,
    "h": 299.3
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#6535A4
secondary
#9FBE76
accent
#DB4D9D
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6535A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6535A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva