#6530AB#6530AB

#6530AB is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.184 H 298.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6530AB
RGBrgb(101, 48, 171)
HSLhsl(266, 56%, 43%)
HSVhsv(266, 72%, 67%)
CMYKcmyk(40.9%, 71.9%, 0%, 32.9%)
CIE-LABlab(33.61, 48.80, -56.88)
CIE-LCHlch(33.61, 74.94, 310.63°)
OKLaboklab(44.94% 0.0873 -0.1625)
OKLCHoklch(44.94% 0.184 298.2)
XYZxyz(13.7726, 7.8207, 39.3041)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6530AB #76AB30
analogous
#3038AB #6530AB #A230AB
triadic
#6530AB #AB6530 #30AB65
tetradic
#6530AB #AB3038 #76AB30 #30ABA2
square
#6530AB #AB3038 #76AB30 #30ABA2
split-complementary
#6530AB #ABA230 #38AB30
monochromatic
#2D154B #49237B #6530AB #834CCD #A47BDA

Accessibility & contrast

On white

8.19
#6530AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6530AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6530AB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6530AB#FFFFFF#000000##FFFFFF
##6530AB1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#544F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6530ab;
/* rgb */ color: rgb(101, 48, 171);
/* oklch */ color: oklch(44.9% 0.184 298.2);
Tailwind
colors: {
  custom: {
    50: '#976dc5',
    500: '#6530ab',
    950: '#000000',
  },
}
SCSS
$custom: #6530ab;
$custom-light: #976dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6530ab",
  "rgb": {
    "r": 101,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 265.854,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.18445,
    "h": 298.2
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#6530AB
secondary
#A1C374
accent
#DF489E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6530AB

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

Preview Lab → · Contrast checker → · Palette generator →

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