#6539B2#6539B2

#6539B2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.181 H 295.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6539B2
RGBrgb(101, 57, 178)
HSLhsl(262, 51%, 46%)
HSVhsv(262, 68%, 70%)
CMYKcmyk(43.3%, 68%, 0%, 30.2%)
CIE-LABlab(35.80, 46.09, -57.47)
CIE-LCHlch(35.80, 73.67, 308.73°)
OKLaboklab(46.68% 0.077 -0.1643)
OKLCHoklch(46.68% 0.181 295.1)
XYZxyz(14.8637, 8.9069, 43.0469)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539B2 #86B239
analogous
#3949B2 #6539B2 #A139B2
triadic
#6539B2 #B26539 #39B265
tetradic
#6539B2 #B23949 #86B239 #39B2A1
square
#6539B2 #B23949 #86B239 #39B2A1
split-complementary
#6539B2 #B2A139 #49B239
monochromatic
#301B55 #4B2A84 #6539B2 #855DCB #A88BDA

Accessibility & contrast

On white

7.55
#6539B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6539B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6539B2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539B2#FFFFFF#000000##FFFFFF
##6539B21.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#505671
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6539b2;
/* rgb */ color: rgb(101, 57, 178);
/* oklch */ color: oklch(46.7% 0.181 295.1);
Tailwind
colors: {
  custom: {
    50: '#9772ca',
    500: '#6539b2',
    950: '#000000',
  },
}
SCSS
$custom: #6539b2;
$custom-light: #9772ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6539b2",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 261.818,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46676,
    "c": 0.18141,
    "h": 295.1
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#6539B2
secondary
#ACC482
accent
#DB4DA7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6539B2

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

Preview Lab → · Contrast checker → · Palette generator →

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