#6539D2#6539D2

#6539D2 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.218 H 288.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6539D2
RGBrgb(101, 57, 210)
HSLhsl(257, 63%, 52%)
HSVhsv(257, 73%, 82%)
CMYKcmyk(51.9%, 72.9%, 0%, 17.6%)
CIE-LABlab(38.45, 54.83, -71.87)
CIE-LCHlch(38.45, 90.40, 307.34°)
OKLaboklab(49.38% 0.0708 -0.2065)
OKLCHoklch(49.38% 0.218 288.9)
XYZxyz(18.4594, 10.3452, 61.9844)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539D2 #A6D239
analogous
#3959D2 #6539D2 #B239D2
triadic
#6539D2 #D26539 #39D265
tetradic
#6539D2 #D23959 #A6D239 #39D2B2
square
#6539D2 #D23959 #A6D239 #39D2B2
split-complementary
#6539D2 #D2B239 #59D239
monochromatic
#351B76 #4B26A8 #6539D2 #8C6BDD #B39DE9

Accessibility & contrast

On white

6.84
#6539D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6539D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6539D2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539D2#FFFFFF#000000##FFFFFF
##6539D21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#3C6282
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6539d2;
/* rgb */ color: rgb(101, 57, 210);
/* oklch */ color: oklch(49.4% 0.218 288.9);
Tailwind
colors: {
  custom: {
    50: '#9b74e1',
    500: '#6539d2',
    950: '#000000',
  },
}
SCSS
$custom: #6539d2;
$custom-light: #9b74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6539d2",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 257.255,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.21835,
    "h": 288.9
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#6539D2
secondary
#C2D592
accent
#E642B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6539D2

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

Preview Lab → · Contrast checker → · Palette generator →

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