#6538C3#6538C3

#6538C3 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.202 H 291.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6538C3
RGBrgb(101, 56, 195)
HSLhsl(259, 55%, 49%)
HSVhsv(259, 71%, 76%)
CMYKcmyk(48.2%, 71.3%, 0%, 23.5%)
CIE-LABlab(36.99, 51.22, -65.54)
CIE-LCHlch(36.99, 83.19, 308.01°)
OKLaboklab(47.95% 0.0749 -0.188)
OKLCHoklch(47.95% 0.202 291.7)
XYZxyz(16.6286, 9.5346, 52.5834)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538C3 #96C338
analogous
#3851C3 #6538C3 #AA38C3
triadic
#6538C3 #C36538 #38C365
tetradic
#6538C3 #C33851 #96C338 #38C3AA
square
#6538C3 #C33851 #96C338 #38C3AA
split-complementary
#6538C3 #C3AA38 #51C338
monochromatic
#341D64 #4C2A93 #6538C3 #8965D3 #AD95E1

Accessibility & contrast

On white

7.22
#6538C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6538C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538C3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538C3#FFFFFF#000000##FFFFFF
##6538C31.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#475C7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6538c3;
/* rgb */ color: rgb(101, 56, 195);
/* oklch */ color: oklch(48.0% 0.202 291.7);
Tailwind
colors: {
  custom: {
    50: '#9972d6',
    500: '#6538c3',
    950: '#000000',
  },
}
SCSS
$custom: #6538c3;
$custom-light: #9972d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6538c3",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 259.424,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47952,
    "c": 0.20237,
    "h": 291.7
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#6538C3
secondary
#B7CC8B
accent
#DF49AE
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6538C3

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

Preview Lab → · Contrast checker → · Palette generator →

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