#6535AE#6535AE

#6535AE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.182 H 296.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6535AE
RGBrgb(101, 53, 174)
HSLhsl(264, 53%, 45%)
HSVhsv(264, 70%, 68%)
CMYKcmyk(42%, 69.5%, 0%, 31.8%)
CIE-LABlab(34.74, 47.09, -56.82)
CIE-LCHlch(34.74, 73.80, 309.65°)
OKLaboklab(45.82% 0.0817 -0.1623)
OKLCHoklch(45.82% 0.182 296.7)
XYZxyz(14.2779, 8.3686, 40.8992)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535AE #7EAE35
analogous
#3541AE #6535AE #A235AE
triadic
#6535AE #AE6535 #35AE65
tetradic
#6535AE #AE3541 #7EAE35 #35AEA2
square
#6535AE #AE3541 #7EAE35 #35AEA2
split-complementary
#6535AE #AEA235 #41AE35
monochromatic
#2F1850 #4A277F #6535AE #8455CB #A684DA

Accessibility & contrast

On white

7.85
#6535AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6535AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6535AE
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6535AE#FFFFFF#000000##FFFFFF
##6535AE1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#52526D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6535ae;
/* rgb */ color: rgb(101, 53, 174);
/* oklch */ color: oklch(45.8% 0.182 296.7);
Tailwind
colors: {
  custom: {
    50: '#9770c7',
    500: '#6535ae',
    950: '#000000',
  },
}
SCSS
$custom: #6535ae;
$custom-light: #9770c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6535ae",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 263.802,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.18176,
    "h": 296.7
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#6535AE
secondary
#A7C37C
accent
#DD4BA3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6535AE

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

Preview Lab → · Contrast checker → · Palette generator →

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