#6526B1#6526B1

#6526B1 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.3% C 0.202 H 298.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6526B1
RGBrgb(101, 38, 177)
HSLhsl(267, 65%, 42%)
HSVhsv(267, 79%, 69%)
CMYKcmyk(42.9%, 78.5%, 0%, 30.6%)
CIE-LABlab(32.54, 54.79, -62.20)
CIE-LCHlch(32.54, 82.89, 311.38°)
OKLaboklab(44.34% 0.0947 -0.1781)
OKLCHoklch(44.34% 0.202 298)
XYZxyz(13.9937, 7.3270, 42.2634)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6526B1 #72B126
analogous
#262DB1 #6526B1 #AA26B1
triadic
#6526B1 #B16526 #26B165
tetradic
#6526B1 #B1262D #72B126 #26B1AA
square
#6526B1 #B1262D #72B126 #26B1AA
split-complementary
#6526B1 #B1AA26 #2DB126
monochromatic
#2C104C #481B7F #6526B1 #833FD6 #A371E0

Accessibility & contrast

On white

8.52
#6526B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6526B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6526B1
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6526B1#FFFFFF#000000##FFFFFF
##6526B11.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#514C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6526b1;
/* rgb */ color: rgb(101, 38, 177);
/* oklch */ color: oklch(44.3% 0.202 298.0);
Tailwind
colors: {
  custom: {
    50: '#9868c9',
    500: '#6526b1',
    950: '#000000',
  },
}
SCSS
$custom: #6526b1;
$custom-light: #9868c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6526b1",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 267.194,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44341,
    "c": 0.20169,
    "h": 298
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#6526B1
secondary
#9EC76B
accent
#E8409C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6526B1

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

Preview Lab → · Contrast checker → · Palette generator →

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