#6539AF#6539AF

#6539AF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.178 H 295.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6539AF
RGBrgb(101, 57, 175)
HSLhsl(262, 51%, 45%)
HSVhsv(262, 67%, 69%)
CMYKcmyk(42.3%, 67.4%, 0%, 31.4%)
CIE-LABlab(35.57, 45.27, -56.06)
CIE-LCHlch(35.57, 72.06, 308.92°)
OKLaboklab(46.44% 0.0774 -0.1601)
OKLCHoklch(46.44% 0.178 295.8)
XYZxyz(14.5658, 8.7878, 41.4779)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539AF #83AF39
analogous
#3948AF #6539AF #A039AF
triadic
#6539AF #AF6539 #39AF65
tetradic
#6539AF #AF3948 #83AF39 #39AFA0
square
#6539AF #AF3948 #83AF39 #39AFA0
split-complementary
#6539AF #AFA039 #48AF39
monochromatic
#301B53 #4A2A81 #6539AF #855BCA #A78AD9

Accessibility & contrast

On white

7.62
#6539AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6539AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6539AF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539AF#FFFFFF#000000##FFFFFF
##6539AF1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#52556F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6539af;
/* rgb */ color: rgb(101, 57, 175);
/* oklch */ color: oklch(46.4% 0.178 295.8);
Tailwind
colors: {
  custom: {
    50: '#9772c8',
    500: '#6539af',
    950: '#000000',
  },
}
SCSS
$custom: #6539af;
$custom-light: #9772c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6539af",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 262.373,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46436,
    "c": 0.17785,
    "h": 295.8
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

primary
#6539AF
secondary
#AAC381
accent
#DA4DA6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6539AF

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

Preview Lab → · Contrast checker → · Palette generator →

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