#6538BA#6538BA

#6538BA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.192 H 293.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6538BA
RGBrgb(101, 56, 186)
HSLhsl(261, 54%, 47%)
HSVhsv(261, 70%, 73%)
CMYKcmyk(45.7%, 69.9%, 0%, 27.1%)
CIE-LABlab(36.25, 48.78, -61.47)
CIE-LCHlch(36.25, 78.47, 308.43°)
OKLaboklab(47.19% 0.0767 -0.176)
OKLCHoklch(47.19% 0.192 293.5)
XYZxyz(15.6415, 9.1398, 47.3849)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538BA #8DBA38
analogous
#384CBA #6538BA #A638BA
triadic
#6538BA #BA6538 #38BA65
tetradic
#6538BA #BA384C #8DBA38 #38BAA6
square
#6538BA #BA384C #8DBA38 #38BAA6
split-complementary
#6538BA #BAA638 #4CBA38
monochromatic
#321C5C #4B2A8B #6538BA #8760CF #AA8FDD

Accessibility & contrast

On white

7.43
#6538BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6538BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538BA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538BA#FFFFFF#000000##FFFFFF
##6538BA1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#4C5975
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6538ba;
/* rgb */ color: rgb(101, 56, 186);
/* oklch */ color: oklch(47.2% 0.192 293.5);
Tailwind
colors: {
  custom: {
    50: '#9872d0',
    500: '#6538ba',
    950: '#000000',
  },
}
SCSS
$custom: #6538ba;
$custom-light: #9872d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6538ba",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 260.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47194,
    "c": 0.19199,
    "h": 293.5
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#6538BA
secondary
#B1C886
accent
#DD4BAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6538BA

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

Preview Lab → · Contrast checker → · Palette generator →

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