#6530B1#6530B1

#6530B1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.191 H 296.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6530B1
RGBrgb(101, 48, 177)
HSLhsl(265, 57%, 44%)
HSVhsv(265, 73%, 69%)
CMYKcmyk(42.9%, 72.9%, 0%, 30.6%)
CIE-LABlab(34.10, 50.35, -59.66)
CIE-LCHlch(34.10, 78.07, 310.17°)
OKLaboklab(45.43% 0.0861 -0.1707)
OKLCHoklch(45.43% 0.191 296.8)
XYZxyz(14.3575, 8.0546, 42.3847)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6530B1 #7CB130
analogous
#303CB1 #6530B1 #A630B1
triadic
#6530B1 #B16530 #30B165
tetradic
#6530B1 #B1303C #7CB130 #30B1A6
square
#6530B1 #B1303C #7CB130 #30B1A6
split-complementary
#6530B1 #B1A630 #3CB130
monochromatic
#2E1651 #4A2381 #6530B1 #844FCF #A57FDC

Accessibility & contrast

On white

8.04
#6530B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6530B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6530B1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6530B1#FFFFFF#000000##FFFFFF
##6530B11.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#51516E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6530b1;
/* rgb */ color: rgb(101, 48, 177);
/* oklch */ color: oklch(45.4% 0.191 296.8);
Tailwind
colors: {
  custom: {
    50: '#986dc9',
    500: '#6530b1',
    950: '#000000',
  },
}
SCSS
$custom: #6530b1;
$custom-light: #986dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6530b1",
  "rgb": {
    "r": 101,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 264.651,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45434,
    "c": 0.19114,
    "h": 296.8
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#6530B1
secondary
#A5C578
accent
#E147A2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6530B1

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

Preview Lab → · Contrast checker → · Palette generator →

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