#6538AE#6538AE

#6538AE is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.178 H 296.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6538AE
RGBrgb(101, 56, 174)
HSLhsl(263, 51%, 45%)
HSVhsv(263, 68%, 68%)
CMYKcmyk(42%, 67.8%, 0%, 31.8%)
CIE-LABlab(35.30, 45.53, -55.91)
CIE-LCHlch(35.30, 72.10, 309.16°)
OKLaboklab(46.22% 0.0786 -0.1597)
OKLCHoklch(46.22% 0.178 296.2)
XYZxyz(14.4190, 8.6507, 40.9463)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538AE #81AE38
analogous
#3846AE #6538AE #A038AE
triadic
#6538AE #AE6538 #38AE65
tetradic
#6538AE #AE3846 #81AE38 #38AEA0
square
#6538AE #AE3846 #81AE38 #38AEA0
split-complementary
#6538AE #AEA038 #46AE38
monochromatic
#2F1A51 #4A2980 #6538AE #8459CA #A788D9

Accessibility & contrast

On white

7.69
#6538AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6538AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538AE
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538AE#FFFFFF#000000##FFFFFF
##6538AE1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#52546E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6538ae;
/* rgb */ color: rgb(101, 56, 174);
/* oklch */ color: oklch(46.2% 0.178 296.2);
Tailwind
colors: {
  custom: {
    50: '#9772c7',
    500: '#6538ae',
    950: '#000000',
  },
}
SCSS
$custom: #6538ae;
$custom-light: #9772c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6538ae",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 262.881,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46219,
    "c": 0.17797,
    "h": 296.2
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#6538AE
secondary
#A9C37F
accent
#DB4DA5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6538AE

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

Preview Lab → · Contrast checker → · Palette generator →

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