#6538CC#6538CC

#6538CC is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.7% C 0.213 H 290.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6538CC
RGBrgb(101, 56, 204)
HSLhsl(258, 59%, 51%)
HSVhsv(258, 73%, 80%)
CMYKcmyk(50.5%, 72.5%, 0%, 20%)
CIE-LABlab(37.76, 53.68, -69.53)
CIE-LCHlch(37.76, 87.85, 307.67°)
OKLaboklab(48.73% 0.073 -0.1997)
OKLCHoklch(48.73% 0.213 290.1)
XYZxyz(17.6770, 9.9539, 58.1049)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538CC #9FCC38
analogous
#3855CC #6538CC #AF38CC
triadic
#6538CC #CC6538 #38CC65
tetradic
#6538CC #CC3855 #9FCC38 #38CCAF
square
#6538CC #CC3855 #9FCC38 #38CCAF
split-complementary
#6538CC #CCAF38 #55CC38
monochromatic
#351C6E #4C299E #6538CC #8B69D8 #B099E5

Accessibility & contrast

On white

7.02
#6538CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6538CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538CC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538CC#FFFFFF#000000##FFFFFF
##6538CC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#41607F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6538cc;
/* rgb */ color: rgb(101, 56, 204);
/* oklch */ color: oklch(48.7% 0.213 290.1);
Tailwind
colors: {
  custom: {
    50: '#9b73dd',
    500: '#6538cc',
    950: '#000000',
  },
}
SCSS
$custom: #6538cc;
$custom-light: #9b73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6538cc",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 258.243,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4873,
    "c": 0.21262,
    "h": 290.1
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6538CC

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

Preview Lab → · Contrast checker → · Palette generator →

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