#6539B8#6539B8

#6539B8 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.188 H 293.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6539B8
RGBrgb(101, 57, 184)
HSLhsl(261, 53%, 47%)
HSVhsv(261, 69%, 72%)
CMYKcmyk(45.1%, 69%, 0%, 27.8%)
CIE-LABlab(36.28, 47.71, -60.25)
CIE-LCHlch(36.28, 76.86, 308.38°)
OKLaboklab(47.16% 0.076 -0.1724)
OKLCHoklch(47.16% 0.188 293.8)
XYZxyz(15.4793, 9.1532, 46.2893)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539B8 #8CB839
analogous
#394DB8 #6539B8 #A439B8
triadic
#6539B8 #B86539 #39B865
tetradic
#6539B8 #B8394D #8CB839 #39B8A4
square
#6539B8 #B8394D #8CB839 #39B8A4
split-complementary
#6539B8 #B8A439 #4DB839
monochromatic
#321C5B #4B2B89 #6539B8 #8660CE #AA8FDC

Accessibility & contrast

On white

7.42
#6539B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6539B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6539B8
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539B8#FFFFFF#000000##FFFFFF
##6539B81.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#4D5874
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6539b8;
/* rgb */ color: rgb(101, 57, 184);
/* oklch */ color: oklch(47.2% 0.188 293.8);
Tailwind
colors: {
  custom: {
    50: '#9873ce',
    500: '#6539b8',
    950: '#000000',
  },
}
SCSS
$custom: #6539b8;
$custom-light: #9873ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6539b8",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 260.787,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.18846,
    "h": 293.8
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#6539B8
secondary
#B0C786
accent
#DC4CAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6539B8

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

Preview Lab → · Contrast checker → · Palette generator →

#6539B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva