#6536A2#6536A2

#6536A2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.166 H 299.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6536A2
RGBrgb(101, 54, 162)
HSLhsl(266, 50%, 42%)
HSVhsv(266, 67%, 64%)
CMYKcmyk(37.7%, 66.7%, 0%, 36.5%)
CIE-LABlab(34.01, 43.40, -50.81)
CIE-LCHlch(34.01, 66.83, 310.50°)
OKLaboklab(45.01% 0.0823 -0.1447)
OKLCHoklch(45.01% 0.166 299.6)
XYZxyz(13.2060, 8.0135, 35.0264)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6536A2 #73A236
analogous
#363DA2 #6536A2 #9B36A2
triadic
#6536A2 #A26536 #36A265
tetradic
#6536A2 #A2363D #73A236 #36A29B
square
#6536A2 #A2363D #73A236 #36A29B
split-complementary
#6536A2 #A29B36 #3DA236
monochromatic
#2C1746 #482774 #6536A2 #8350C5 #A47ED4

Accessibility & contrast

On white

8.07
#6536A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6536A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6536A2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6536A2#FFFFFF#000000##FFFFFF
##6536A21.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#574F67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6536a2;
/* rgb */ color: rgb(101, 54, 162);
/* oklch */ color: oklch(45.0% 0.166 299.6);
Tailwind
colors: {
  custom: {
    50: '#9670be',
    500: '#6536a2',
    950: '#000000',
  },
}
SCSS
$custom: #6536a2;
$custom-light: #9670be;
$custom-dark: #000000;
JSON
{
  "hex": "#6536a2",
  "rgb": {
    "r": 101,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 266.111,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.16647,
    "h": 299.6
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#6536A2
secondary
#9EBD77
accent
#DA4E9D
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6536A2

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

Preview Lab → · Contrast checker → · Palette generator →

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