#6539CB#6539CB

#6539CB is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.210 H 290.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6539CB
RGBrgb(101, 57, 203)
HSLhsl(258, 58%, 51%)
HSVhsv(258, 72%, 80%)
CMYKcmyk(50.2%, 71.9%, 0%, 20.4%)
CIE-LABlab(37.85, 52.91, -68.81)
CIE-LCHlch(37.85, 86.80, 307.56°)
OKLaboklab(48.77% 0.0724 -0.1976)
OKLCHoklch(48.77% 0.21 290.1)
XYZxyz(17.6064, 10.0040, 57.4916)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539CB #9FCB39
analogous
#3956CB #6539CB #AE39CB
triadic
#6539CB #CB6539 #39CB65
tetradic
#6539CB #CB3956 #9FCB39 #39CBAE
square
#6539CB #CB3956 #9FCB39 #39CBAE
split-complementary
#6539CB #CBAE39 #56CB39
monochromatic
#351D6D #4C299D #6539CB #8B69D8 #B09AE4

Accessibility & contrast

On white

7.00
#6539CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6539CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6539CB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539CB#FFFFFF#000000##FFFFFF
##6539CB1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#41607E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6539cb;
/* rgb */ color: rgb(101, 57, 203);
/* oklch */ color: oklch(48.8% 0.210 290.1);
Tailwind
colors: {
  custom: {
    50: '#9a73dc',
    500: '#6539cb',
    950: '#000000',
  },
}
SCSS
$custom: #6539cb;
$custom-light: #9a73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6539cb",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 258.082,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48767,
    "c": 0.21041,
    "h": 290.1
  },
  "luminance": 0.10005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6539CB

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

Preview Lab → · Contrast checker → · Palette generator →

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