#6537AC#6537AC

#6537AC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.177 H 296.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6537AC
RGBrgb(101, 55, 172)
HSLhsl(264, 52%, 45%)
HSVhsv(264, 68%, 67%)
CMYKcmyk(41.3%, 68%, 0%, 32.5%)
CIE-LABlab(34.96, 45.52, -55.27)
CIE-LCHlch(34.96, 71.61, 309.47°)
OKLaboklab(45.92% 0.0799 -0.1578)
OKLCHoklch(45.92% 0.177 296.9)
XYZxyz(14.1775, 8.4774, 39.9111)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6537AC #7EAC37
analogous
#3743AC #6537AC #A037AC
triadic
#6537AC #AC6537 #37AC65
tetradic
#6537AC #AC3743 #7EAC37 #37ACA0
square
#6537AC #AC3743 #7EAC37 #37ACA0
split-complementary
#6537AC #ACA037 #43AC37
monochromatic
#2F194F #4A287E #6537AC #8457C9 #A685D8

Accessibility & contrast

On white

7.79
#6537AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6537AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6537AC#FFFFFF#000000##FFFFFF
##6537AC1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#53536D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6537ac;
/* rgb */ color: rgb(101, 55, 172);
/* oklch */ color: oklch(45.9% 0.177 296.9);
Tailwind
colors: {
  custom: {
    50: '#9771c6',
    500: '#6537ac',
    950: '#000000',
  },
}
SCSS
$custom: #6537ac;
$custom-light: #9771c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6537ac",
  "rgb": {
    "r": 101,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 263.59,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.17691,
    "h": 296.9
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6537AC

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

Preview Lab → · Contrast checker → · Palette generator →

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