#6539CC#6539CC

#6539CC is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.212 H 289.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6539CC
RGBrgb(101, 57, 204)
HSLhsl(258, 59%, 51%)
HSVhsv(258, 72%, 80%)
CMYKcmyk(50.5%, 72.1%, 0%, 20%)
CIE-LABlab(37.94, 53.19, -69.25)
CIE-LCHlch(37.94, 87.32, 307.53°)
OKLaboklab(48.85% 0.0722 -0.1988)
OKLCHoklch(48.85% 0.212 289.9)
XYZxyz(17.7259, 10.0518, 58.1212)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539CC #A0CC39
analogous
#3956CC #6539CC #AE39CC
triadic
#6539CC #CC6539 #39CC65
tetradic
#6539CC #CC3956 #A0CC39 #39CCAE
square
#6539CC #CC3956 #A0CC39 #39CCAE
split-complementary
#6539CC #CCAE39 #56CC39
monochromatic
#351C6E #4C299F #6539CC #8B6AD9 #B19AE5

Accessibility & contrast

On white

6.98
#6539CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6539CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6539CC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539CC#FFFFFF#000000##FFFFFF
##6539CC1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#41607F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6539cc;
/* rgb */ color: rgb(101, 57, 204);
/* oklch */ color: oklch(48.9% 0.212 289.9);
Tailwind
colors: {
  custom: {
    50: '#9a73dd',
    500: '#6539cc',
    950: '#000000',
  },
}
SCSS
$custom: #6539cc;
$custom-light: #9a73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6539cc",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 257.959,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.21154,
    "h": 289.9
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#6539CC
secondary
#BDD190
accent
#E246B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6539CC

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

Preview Lab → · Contrast checker → · Palette generator →

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