#6539BA#6539BA

#6539BA is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.191 H 293.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6539BA
RGBrgb(101, 57, 186)
HSLhsl(260, 53%, 48%)
HSVhsv(260, 69%, 73%)
CMYKcmyk(45.7%, 69.4%, 0%, 27.1%)
CIE-LABlab(36.44, 48.26, -61.17)
CIE-LCHlch(36.44, 77.91, 308.27°)
OKLaboklab(47.33% 0.0757 -0.1751)
OKLCHoklch(47.33% 0.191 293.4)
XYZxyz(15.6904, 9.2377, 47.4012)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539BA #8EBA39
analogous
#394EBA #6539BA #A539BA
triadic
#6539BA #BA6539 #39BA65
tetradic
#6539BA #BA394E #8EBA39 #39BAA5
square
#6539BA #BA394E #8EBA39 #39BAA5
split-complementary
#6539BA #BAA539 #4EBA39
monochromatic
#321C5C #4C2B8B #6539BA #8761CF #AB90DD

Accessibility & contrast

On white

7.37
#6539BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6539BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6539BA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539BA#FFFFFF#000000##FFFFFF
##6539BA1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#4C5975
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6539ba;
/* rgb */ color: rgb(101, 57, 186);
/* oklch */ color: oklch(47.3% 0.191 293.4);
Tailwind
colors: {
  custom: {
    50: '#9873d0',
    500: '#6539ba',
    950: '#000000',
  },
}
SCSS
$custom: #6539ba;
$custom-light: #9873d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6539ba",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 260.465,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.1908,
    "h": 293.4
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#6539BA
secondary
#B2C887
accent
#DC4BAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6539BA

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

Preview Lab → · Contrast checker → · Palette generator →

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