#6537AA#6537AA

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

Color values

HEX#6537AA
RGBrgb(101, 55, 170)
HSLhsl(264, 51%, 44%)
HSVhsv(264, 68%, 67%)
CMYKcmyk(40.6%, 67.6%, 0%, 33.3%)
CIE-LABlab(34.80, 44.99, -54.33)
CIE-LCHlch(34.80, 70.54, 309.63°)
OKLaboklab(45.77% 0.0802 -0.155)
OKLCHoklch(45.77% 0.175 297.4)
XYZxyz(13.9868, 8.4011, 38.9071)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6537AA #7CAA37
analogous
#3743AA #6537AA #9F37AA
triadic
#6537AA #AA6537 #37AA65
tetradic
#6537AA #AA3743 #7CAA37 #37AA9F
square
#6537AA #AA3743 #7CAA37 #37AA9F
split-complementary
#6537AA #AA9F37 #43AA37
monochromatic
#2E194E #4A287C #6537AA #8456C8 #A584D7

Accessibility & contrast

On white

7.84
#6537AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6537AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6537AA#FFFFFF#000000##FFFFFF
##6537AA1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#54526C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6537aa;
/* rgb */ color: rgb(101, 55, 170);
/* oklch */ color: oklch(45.8% 0.175 297.4);
Tailwind
colors: {
  custom: {
    50: '#9671c4',
    500: '#6537aa',
    950: '#000000',
  },
}
SCSS
$custom: #6537aa;
$custom-light: #9671c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6537aa",
  "rgb": {
    "r": 101,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 264,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.17455,
    "h": 297.4
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#6537AA
secondary
#A5C17C
accent
#DB4DA2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6537AA

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

Preview Lab → · Contrast checker → · Palette generator →

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