#6538C4#6538C4

#6538C4 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.0% C 0.204 H 291.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6538C4
RGBrgb(101, 56, 196)
HSLhsl(259, 56%, 49%)
HSVhsv(259, 71%, 77%)
CMYKcmyk(48.5%, 71.4%, 0%, 23.1%)
CIE-LABlab(37.08, 51.50, -65.99)
CIE-LCHlch(37.08, 83.71, 307.97°)
OKLaboklab(48.04% 0.0747 -0.1893)
OKLCHoklch(48.04% 0.204 291.5)
XYZxyz(16.7420, 9.5800, 53.1808)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538C4 #97C438
analogous
#3851C4 #6538C4 #AB38C4
triadic
#6538C4 #C46538 #38C465
tetradic
#6538C4 #C43851 #97C438 #38C4AB
square
#6538C4 #C43851 #97C438 #38C4AB
split-complementary
#6538C4 #C4AB38 #51C438
monochromatic
#341D65 #4C2A94 #6538C4 #8966D3 #AE96E1

Accessibility & contrast

On white

7.20
#6538C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6538C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538C4
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538C4#FFFFFF#000000##FFFFFF
##6538C41.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#465C7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6538c4;
/* rgb */ color: rgb(101, 56, 196);
/* oklch */ color: oklch(48.0% 0.204 291.5);
Tailwind
colors: {
  custom: {
    50: '#9973d7',
    500: '#6538c4',
    950: '#000000',
  },
}
SCSS
$custom: #6538c4;
$custom-light: #9973d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6538c4",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 259.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.20352,
    "h": 291.5
  },
  "luminance": 0.09581
}

Semantic roles & 50–950 ramp

primary
#6538C4
secondary
#B7CC8C
accent
#DF49AF
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6538C4

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

Preview Lab → · Contrast checker → · Palette generator →

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