#6539D6#6539D6

#6539D6 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.223 H 288.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6539D6
RGBrgb(101, 57, 214)
HSLhsl(257, 66%, 53%)
HSVhsv(257, 73%, 84%)
CMYKcmyk(52.8%, 73.4%, 0%, 16.1%)
CIE-LABlab(38.81, 55.93, -73.60)
CIE-LCHlch(38.81, 92.44, 307.23°)
OKLaboklab(49.74% 0.0699 -0.2116)
OKLCHoklch(49.74% 0.223 288.3)
XYZxyz(18.9640, 10.5471, 64.6418)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539D6 #AAD639
analogous
#395CD6 #6539D6 #B339D6
triadic
#6539D6 #D66539 #39D665
tetradic
#6539D6 #D6395C #AAD639 #39D6B3
square
#6539D6 #D6395C #AAD639 #39D6B3
split-complementary
#6539D6 #D6B339 #5CD639
monochromatic
#35197B #4B24AE #6539D6 #8C6CE0 #B49EEB

Accessibility & contrast

On white

6.75
#6539D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6539D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6539D6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539D6#FFFFFF#000000##FFFFFF
##6539D61.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDB
Deuteranopia (green-blind)
#0057D3
Tritanopia (blue-blind)
#386485
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6539d6;
/* rgb */ color: rgb(101, 57, 214);
/* oklch */ color: oklch(49.7% 0.223 288.3);
Tailwind
colors: {
  custom: {
    50: '#9c74e4',
    500: '#6539d6',
    950: '#000000',
  },
}
SCSS
$custom: #6539d6;
$custom-light: #9c74e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6539d6",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 256.815,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49737,
    "c": 0.22285,
    "h": 288.3
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

primary
#6539D6
secondary
#C4D794
accent
#E93FB9
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6539D6

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

Preview Lab → · Contrast checker → · Palette generator →

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