#6538BD#6538BD

#6538BD is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.195 H 292.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6538BD
RGBrgb(101, 56, 189)
HSLhsl(260, 54%, 48%)
HSVhsv(260, 70%, 74%)
CMYKcmyk(46.6%, 70.4%, 0%, 25.9%)
CIE-LABlab(36.50, 49.59, -62.84)
CIE-LCHlch(36.50, 80.05, 308.28°)
OKLaboklab(47.44% 0.0761 -0.18)
OKLCHoklch(47.44% 0.195 292.9)
XYZxyz(15.9638, 9.2687, 49.0822)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538BD #90BD38
analogous
#384DBD #6538BD #A838BD
triadic
#6538BD #BD6538 #38BD65
tetradic
#6538BD #BD384D #90BD38 #38BDA8
square
#6538BD #BD384D #90BD38 #38BDA8
split-complementary
#6538BD #BDA838 #4DBD38
monochromatic
#331C5F #4C2A8E #6538BD #8762D0 #AB91DE

Accessibility & contrast

On white

7.36
#6538BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6538BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538BD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538BD#FFFFFF#000000##FFFFFF
##6538BD1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#4A5A76
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6538bd;
/* rgb */ color: rgb(101, 56, 189);
/* oklch */ color: oklch(47.4% 0.195 292.9);
Tailwind
colors: {
  custom: {
    50: '#9972d2',
    500: '#6538bd',
    950: '#000000',
  },
}
SCSS
$custom: #6538bd;
$custom-light: #9972d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6538bd",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 260.301,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47444,
    "c": 0.19547,
    "h": 292.9
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#6538BD
secondary
#B3C987
accent
#DE4AAC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6538BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6538BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva