#6526AF#6526AF

#6526AF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.2% C 0.200 H 298.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6526AF
RGBrgb(101, 38, 175)
HSLhsl(268, 64%, 42%)
HSVhsv(268, 78%, 69%)
CMYKcmyk(42.3%, 78.3%, 0%, 31.4%)
CIE-LABlab(32.36, 54.30, -61.30)
CIE-LCHlch(32.36, 81.89, 311.54°)
OKLaboklab(44.16% 0.0953 -0.1754)
OKLCHoklch(44.16% 0.2 298.5)
XYZxyz(13.7958, 7.2479, 41.2213)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6526AF #70AF26
analogous
#262CAF #6526AF #AA26AF
triadic
#6526AF #AF6526 #26AF65
tetradic
#6526AF #AF262C #70AF26 #26AFAA
square
#6526AF #AF262C #70AF26 #26AFAA
split-complementary
#6526AF #AFAA26 #2CAF26
monochromatic
#2B104A #481B7D #6526AF #833DD5 #A370E0

Accessibility & contrast

On white

8.57
#6526AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6526AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6526AF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6526AF#FFFFFF#000000##FFFFFF
##6526AF1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#524B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6526af;
/* rgb */ color: rgb(101, 38, 175);
/* oklch */ color: oklch(44.2% 0.200 298.5);
Tailwind
colors: {
  custom: {
    50: '#9868c8',
    500: '#6526af',
    950: '#000000',
  },
}
SCSS
$custom: #6526af;
$custom-light: #9868c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6526af",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 267.591,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44164,
    "c": 0.19961,
    "h": 298.5
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#6526AF
secondary
#9CC76A
accent
#E7409B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6526AF

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

Preview Lab → · Contrast checker → · Palette generator →

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