#6538AA#6538AA

#6538AA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.173 H 297.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6538AA
RGBrgb(101, 56, 170)
HSLhsl(264, 50%, 44%)
HSVhsv(264, 67%, 67%)
CMYKcmyk(40.6%, 67.1%, 0%, 33.3%)
CIE-LABlab(35.00, 44.46, -54.02)
CIE-LCHlch(35.00, 69.96, 309.46°)
OKLaboklab(45.9% 0.0791 -0.1541)
OKLCHoklch(45.9% 0.173 297.2)
XYZxyz(14.0348, 8.4971, 38.9231)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538AA #7DAA38
analogous
#3844AA #6538AA #9E38AA
triadic
#6538AA #AA6538 #38AA65
tetradic
#6538AA #AA3844 #7DAA38 #38AA9E
square
#6538AA #AA3844 #7DAA38 #38AA9E
split-complementary
#6538AA #AA9E38 #44AA38
monochromatic
#2E1A4E #4A297C #6538AA #8457C8 #A685D7

Accessibility & contrast

On white

7.78
#6538AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6538AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6538AA#FFFFFF#000000##FFFFFF
##6538AA1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#54536C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6538aa;
/* rgb */ color: rgb(101, 56, 170);
/* oklch */ color: oklch(45.9% 0.173 297.2);
Tailwind
colors: {
  custom: {
    50: '#9672c4',
    500: '#6538aa',
    950: '#000000',
  },
}
SCSS
$custom: #6538aa;
$custom-light: #9672c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6538aa",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 263.684,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45903,
    "c": 0.17324,
    "h": 297.2
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#6538AA
secondary
#A6C17D
accent
#DA4EA3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6538AA

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

Preview Lab → · Contrast checker → · Palette generator →

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