#6530B4#6530B4

#6530B4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.194 H 296.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6530B4
RGBrgb(101, 48, 180)
HSLhsl(264, 58%, 45%)
HSVhsv(264, 73%, 71%)
CMYKcmyk(43.9%, 73.3%, 0%, 29.4%)
CIE-LABlab(34.35, 51.13, -61.03)
CIE-LCHlch(34.35, 79.62, 309.96°)
OKLaboklab(45.69% 0.0854 -0.1747)
OKLCHoklch(45.69% 0.194 296.1)
XYZxyz(14.6598, 8.1756, 43.9768)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6530B4 #7FB430
analogous
#303DB4 #6530B4 #A730B4
triadic
#6530B4 #B46530 #30B465
tetradic
#6530B4 #B4303D #7FB430 #30B4A7
square
#6530B4 #B4303D #7FB430 #30B4A7
split-complementary
#6530B4 #B4A730 #3DB430
monochromatic
#2F1653 #4A2384 #6530B4 #8451D1 #A681DD

Accessibility & contrast

On white

7.97
#6530B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6530B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6530B4
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6530B4#FFFFFF#000000##FFFFFF
##6530B41.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#50526F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6530b4;
/* rgb */ color: rgb(101, 48, 180);
/* oklch */ color: oklch(45.7% 0.194 296.1);
Tailwind
colors: {
  custom: {
    50: '#986dcb',
    500: '#6530b4',
    950: '#000000',
  },
}
SCSS
$custom: #6530b4;
$custom-light: #986dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6530b4",
  "rgb": {
    "r": 101,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 264.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.19446,
    "h": 296.1
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#6530B4
secondary
#A7C679
accent
#E147A3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6530B4

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

Preview Lab → · Contrast checker → · Palette generator →

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