#6539A2#6539A2

#6539A2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.162 H 299.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6539A2
RGBrgb(101, 57, 162)
HSLhsl(265, 48%, 43%)
HSVhsv(265, 65%, 64%)
CMYKcmyk(37.7%, 64.8%, 0%, 36.5%)
CIE-LABlab(34.60, 41.79, -49.85)
CIE-LCHlch(34.60, 65.05, 309.97°)
OKLaboklab(45.43% 0.0789 -0.1419)
OKLCHoklch(45.43% 0.162 299.1)
XYZxyz(13.3499, 8.3014, 35.0744)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539A2 #76A239
analogous
#3941A2 #6539A2 #9939A2
triadic
#6539A2 #A26539 #39A265
tetradic
#6539A2 #A23941 #76A239 #39A299
square
#6539A2 #A23941 #76A239 #39A299
split-complementary
#6539A2 #A29939 #41A239
monochromatic
#2D1947 #492975 #6539A2 #8355C3 #A482D3

Accessibility & contrast

On white

7.89
#6539A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6539A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6539A2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539A2#FFFFFF#000000##FFFFFF
##6539A21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0250A0
Tritanopia (blue-blind)
#575068
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6539a2;
/* rgb */ color: rgb(101, 57, 162);
/* oklch */ color: oklch(45.4% 0.162 299.1);
Tailwind
colors: {
  custom: {
    50: '#9572be',
    500: '#6539a2',
    950: '#000000',
  },
}
SCSS
$custom: #6539a2;
$custom-light: #9572be;
$custom-dark: #000000;
JSON
{
  "hex": "#6539a2",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 265.143,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45432,
    "c": 0.16232,
    "h": 299.1
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#6539A2
secondary
#A1BD7A
accent
#D8509F
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6539A2

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

Preview Lab → · Contrast checker → · Palette generator →

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