#6538AD#6538AD

#6538AD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.177 H 296.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6538AD
RGBrgb(101, 56, 173)
HSLhsl(263, 51%, 45%)
HSVhsv(263, 68%, 68%)
CMYKcmyk(41.6%, 67.6%, 0%, 32.2%)
CIE-LABlab(35.23, 45.26, -55.44)
CIE-LCHlch(35.23, 71.57, 309.23°)
OKLaboklab(46.14% 0.0788 -0.1583)
OKLCHoklch(46.14% 0.177 296.5)
XYZxyz(14.3219, 8.6119, 40.4348)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538AD #80AD38
analogous
#3845AD #6538AD #A038AD
triadic
#6538AD #AD6538 #38AD65
tetradic
#6538AD #AD3845 #80AD38 #38ADA0
square
#6538AD #AD3845 #80AD38 #38ADA0
split-complementary
#6538AD #ADA038 #45AD38
monochromatic
#2F1A51 #4A297F #6538AD #8459C9 #A687D8

Accessibility & contrast

On white

7.71
#6538AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6538AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538AD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538AD#FFFFFF#000000##FFFFFF
##6538AD1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#53546E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6538ad;
/* rgb */ color: rgb(101, 56, 173);
/* oklch */ color: oklch(46.1% 0.177 296.5);
Tailwind
colors: {
  custom: {
    50: '#9772c6',
    500: '#6538ad',
    950: '#000000',
  },
}
SCSS
$custom: #6538ad;
$custom-light: #9772c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6538ad",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 263.077,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4614,
    "c": 0.17679,
    "h": 296.5
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#6538AD
secondary
#A8C27F
accent
#DB4DA4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6538AD

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

Preview Lab → · Contrast checker → · Palette generator →

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