#6538C0#6538C0

#6538C0 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.199 H 292.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6538C0
RGBrgb(101, 56, 192)
HSLhsl(260, 55%, 49%)
HSVhsv(260, 71%, 75%)
CMYKcmyk(47.4%, 70.8%, 0%, 24.7%)
CIE-LABlab(36.74, 50.41, -64.20)
CIE-LCHlch(36.74, 81.62, 308.14°)
OKLaboklab(47.7% 0.0755 -0.184)
OKLCHoklch(47.7% 0.199 292.3)
XYZxyz(16.2928, 9.4003, 50.8149)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538C0 #93C038
analogous
#384FC0 #6538C0 #A938C0
triadic
#6538C0 #C06538 #38C065
tetradic
#6538C0 #C0384F #93C038 #38C0A9
square
#6538C0 #C0384F #93C038 #38C0A9
split-complementary
#6538C0 #C0A938 #4FC038
monochromatic
#331C61 #4C2A91 #6538C0 #8864D2 #AC93DF

Accessibility & contrast

On white

7.29
#6538C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6538C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538C0
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538C0#FFFFFF#000000##FFFFFF
##6538C01.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#495B78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6538c0;
/* rgb */ color: rgb(101, 56, 192);
/* oklch */ color: oklch(47.7% 0.199 292.3);
Tailwind
colors: {
  custom: {
    50: '#9972d4',
    500: '#6538c0',
    950: '#000000',
  },
}
SCSS
$custom: #6538c0;
$custom-light: #9972d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6538c0",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 259.853,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47697,
    "c": 0.19893,
    "h": 292.3
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#6538C0
secondary
#B5CB89
accent
#DE4AAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6538C0

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

Preview Lab → · Contrast checker → · Palette generator →

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