#6539D4#6539D4

#6539D4 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.221 H 288.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6539D4
RGBrgb(101, 57, 212)
HSLhsl(257, 64%, 53%)
HSVhsv(257, 73%, 83%)
CMYKcmyk(52.4%, 73.1%, 0%, 16.9%)
CIE-LABlab(38.63, 55.38, -72.73)
CIE-LCHlch(38.63, 91.42, 307.29°)
OKLaboklab(49.56% 0.0704 -0.2091)
OKLCHoklch(49.56% 0.221 288.6)
XYZxyz(18.7101, 10.4455, 63.3049)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539D4 #A8D439
analogous
#395BD4 #6539D4 #B239D4
triadic
#6539D4 #D46539 #39D465
tetradic
#6539D4 #D4395B #A8D439 #39D4B2
square
#6539D4 #D4395B #A8D439 #39D4B2
split-complementary
#6539D4 #D4B239 #5BD439
monochromatic
#351A78 #4B25AB #6539D4 #8C6BDF #B39EEA

Accessibility & contrast

On white

6.80
#6539D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6539D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6539D4
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539D4#FFFFFF#000000##FFFFFF
##6539D41.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#3A6384
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6539d4;
/* rgb */ color: rgb(101, 57, 212);
/* oklch */ color: oklch(49.6% 0.221 288.6);
Tailwind
colors: {
  custom: {
    50: '#9c74e2',
    500: '#6539d4',
    950: '#000000',
  },
}
SCSS
$custom: #6539d4;
$custom-light: #9c74e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6539d4",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 212
  },
  "hsl": {
    "h": 257.032,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.2206,
    "h": 288.6
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#6539D4
secondary
#C3D693
accent
#E740B8
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6539D4

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

Preview Lab → · Contrast checker → · Palette generator →

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