#6535A2#6535A2

#6535A2 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.168 H 299.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6535A2
RGBrgb(101, 53, 162)
HSLhsl(266, 51%, 42%)
HSVhsv(266, 67%, 64%)
CMYKcmyk(37.7%, 67.3%, 0%, 36.5%)
CIE-LABlab(33.82, 43.93, -51.12)
CIE-LCHlch(33.82, 67.41, 310.67°)
OKLaboklab(44.87% 0.0835 -0.1456)
OKLCHoklch(44.87% 0.168 299.8)
XYZxyz(13.1599, 7.9214, 35.0111)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535A2 #72A235
analogous
#353BA2 #6535A2 #9C35A2
triadic
#6535A2 #A26535 #35A265
tetradic
#6535A2 #A2353B #72A235 #35A29C
square
#6535A2 #A2353B #72A235 #35A29C
split-complementary
#6535A2 #A29C35 #3BA235
monochromatic
#2C1746 #482674 #6535A2 #834FC5 #A37DD4

Accessibility & contrast

On white

8.13
#6535A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6535A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6535A2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6535A2#FFFFFF#000000##FFFFFF
##6535A21.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#574E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6535a2;
/* rgb */ color: rgb(101, 53, 162);
/* oklch */ color: oklch(44.9% 0.168 299.8);
Tailwind
colors: {
  custom: {
    50: '#9670be',
    500: '#6535a2',
    950: '#000000',
  },
}
SCSS
$custom: #6535a2;
$custom-light: #9670be;
$custom-dark: #000000;
JSON
{
  "hex": "#6535a2",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 266.422,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44867,
    "c": 0.16782,
    "h": 299.8
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#6535A2
secondary
#9EBD75
accent
#DA4E9C
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6535A2

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

Preview Lab → · Contrast checker → · Palette generator →

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