#6547AB#6547AB

#6547AB is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.3% C 0.153 H 293.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6547AB
RGBrgb(101, 71, 171)
HSLhsl(258, 41%, 47%)
HSVhsv(258, 58%, 67%)
CMYKcmyk(40.9%, 58.5%, 0%, 32.9%)
CIE-LABlab(38.22, 36.30, -49.40)
CIE-LCHlch(38.22, 61.30, 306.31°)
OKLaboklab(48.27% 0.0616 -0.1405)
OKLCHoklch(48.27% 0.153 293.7)
XYZxyz(14.9688, 10.2131, 39.7028)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6547AB #8DAB47
analogous
#475BAB #6547AB #9747AB
triadic
#6547AB #AB6547 #47AB65
tetradic
#6547AB #AB475B #8DAB47 #47AB97
square
#6547AB #AB475B #8DAB47 #47AB97
split-complementary
#6547AB #AB9747 #5BAB47
monochromatic
#322355 #4B3580 #6547AB #876DC2 #AA98D4

Accessibility & contrast

On white

6.90
#6547AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6547AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6547AB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6547AB#FFFFFF#000000##FFFFFF
##6547AB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095BAE
Deuteranopia (green-blind)
#1858A9
Tritanopia (blue-blind)
#535D72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6547ab;
/* rgb */ color: rgb(101, 71, 171);
/* oklch */ color: oklch(48.3% 0.153 293.7);
Tailwind
colors: {
  custom: {
    50: '#957bc5',
    500: '#6547ab',
    950: '#000000',
  },
}
SCSS
$custom: #6547ab;
$custom-light: #957bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6547ab",
  "rgb": {
    "r": 101,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 258,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4827,
    "c": 0.15346,
    "h": 293.7
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#6547AB
secondary
#B1C08D
accent
#D157AC
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6547AB

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

Preview Lab → · Contrast checker → · Palette generator →

#6547AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva