#6537AB#6537AB

#6537AB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.176 H 297.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6537AB
RGBrgb(101, 55, 171)
HSLhsl(264, 51%, 44%)
HSVhsv(264, 68%, 67%)
CMYKcmyk(40.9%, 67.8%, 0%, 32.9%)
CIE-LABlab(34.88, 45.26, -54.80)
CIE-LCHlch(34.88, 71.07, 309.55°)
OKLaboklab(45.84% 0.0801 -0.1564)
OKLCHoklch(45.84% 0.176 297.1)
XYZxyz(14.0818, 8.4391, 39.4072)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6537AB #7DAB37
analogous
#3743AB #6537AB #9F37AB
triadic
#6537AB #AB6537 #37AB65
tetradic
#6537AB #AB3743 #7DAB37 #37AB9F
square
#6537AB #AB3743 #7DAB37 #37AB9F
split-complementary
#6537AB #AB9F37 #43AB37
monochromatic
#2E194E #4A287D #6537AB #8456C9 #A685D8

Accessibility & contrast

On white

7.81
#6537AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6537AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6537AB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6537AB#FFFFFF#000000##FFFFFF
##6537AB1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#54536C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6537ab;
/* rgb */ color: rgb(101, 55, 171);
/* oklch */ color: oklch(45.8% 0.176 297.1);
Tailwind
colors: {
  custom: {
    50: '#9771c5',
    500: '#6537ab',
    950: '#000000',
  },
}
SCSS
$custom: #6537ab;
$custom-light: #9771c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6537ab",
  "rgb": {
    "r": 101,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 263.793,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45844,
    "c": 0.17573,
    "h": 297.1
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#6537AB
secondary
#A6C17C
accent
#DB4DA3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6537AB

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

Preview Lab → · Contrast checker → · Palette generator →

#6537AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva