#6538CD#6538CD

#6538CD is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.214 H 289.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6538CD
RGBrgb(101, 56, 205)
HSLhsl(258, 60%, 51%)
HSVhsv(258, 73%, 80%)
CMYKcmyk(50.7%, 72.7%, 0%, 19.6%)
CIE-LABlab(37.85, 53.95, -69.97)
CIE-LCHlch(37.85, 88.36, 307.63°)
OKLaboklab(48.82% 0.0728 -0.201)
OKLCHoklch(48.82% 0.214 289.9)
XYZxyz(17.7973, 10.0021, 58.7386)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538CD #A0CD38
analogous
#3855CD #6538CD #AF38CD
triadic
#6538CD #CD6538 #38CD65
tetradic
#6538CD #CD3855 #A0CD38 #38CDAF
square
#6538CD #CD3855 #A0CD38 #38CDAF
split-complementary
#6538CD #CDAF38 #55CD38
monochromatic
#351C6F #4C28A0 #6538CD #8B69D9 #B19AE6

Accessibility & contrast

On white

7.00
#6538CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6538CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6538CD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538CD#FFFFFF#000000##FFFFFF
##6538CD1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#40607F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6538cd;
/* rgb */ color: rgb(101, 56, 205);
/* oklch */ color: oklch(48.8% 0.214 289.9);
Tailwind
colors: {
  custom: {
    50: '#9b73dd',
    500: '#6538cd',
    950: '#000000',
  },
}
SCSS
$custom: #6538cd;
$custom-light: #9b73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6538cd",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 258.121,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.21376,
    "h": 289.9
  },
  "luminance": 0.10003
}

Semantic roles & 50–950 ramp

primary
#6538CD
secondary
#BDD18F
accent
#E345B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6538CD

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

Preview Lab → · Contrast checker → · Palette generator →

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