#6539D3#6539D3

#6539D3 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.219 H 288.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#6539D3
RGBrgb(101, 57, 211)
HSLhsl(257, 64%, 53%)
HSVhsv(257, 73%, 83%)
CMYKcmyk(52.1%, 73%, 0%, 17.3%)
CIE-LABlab(38.54, 55.11, -72.30)
CIE-LCHlch(38.54, 90.91, 307.31°)
OKLaboklab(49.47% 0.0706 -0.2078)
OKLCHoklch(49.47% 0.219 288.8)
XYZxyz(18.5844, 10.3952, 62.6426)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539D3 #A7D339
analogous
#395AD3 #6539D3 #B239D3
triadic
#6539D3 #D36539 #39D365
tetradic
#6539D3 #D3395A #A7D339 #39D3B2
square
#6539D3 #D3395A #A7D339 #39D3B2
split-complementary
#6539D3 #D3B239 #5AD339
monochromatic
#351A77 #4B26A9 #6539D3 #8C6BDE #B39DE9

Accessibility & contrast

On white

6.82
#6539D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6539D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6539D3
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539D3#FFFFFF#000000##FFFFFF
##6539D31.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0057D0
Tritanopia (blue-blind)
#3B6383
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6539d3;
/* rgb */ color: rgb(101, 57, 211);
/* oklch */ color: oklch(49.5% 0.219 288.8);
Tailwind
colors: {
  custom: {
    50: '#9b74e2',
    500: '#6539d3',
    950: '#000000',
  },
}
SCSS
$custom: #6539d3;
$custom-light: #9b74e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6539d3",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 257.143,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.21948,
    "h": 288.8
  },
  "luminance": 0.10396
}

Semantic roles & 50–950 ramp

primary
#6539D3
secondary
#C2D592
accent
#E741B7
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #6539D3

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

Preview Lab → · Contrast checker → · Palette generator →

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