#6527AF#6527AF

#6527AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.199 H 298.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6527AF
RGBrgb(101, 39, 175)
HSLhsl(267, 64%, 42%)
HSVhsv(267, 78%, 69%)
CMYKcmyk(42.3%, 77.7%, 0%, 31.4%)
CIE-LABlab(32.51, 53.89, -61.06)
CIE-LCHlch(32.51, 81.44, 311.43°)
OKLaboklab(44.27% 0.0945 -0.1747)
OKLCHoklch(44.27% 0.199 298.4)
XYZxyz(13.8282, 7.3127, 41.2321)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6527AF #71AF27
analogous
#272DAF #6527AF #A927AF
triadic
#6527AF #AF6527 #27AF65
tetradic
#6527AF #AF272D #71AF27 #27AFA9
square
#6527AF #AF272D #71AF27 #27AFA9
split-complementary
#6527AF #AFA927 #2DAF27
monochromatic
#2B114B #481C7D #6527AF #833FD4 #A371DF

Accessibility & contrast

On white

8.53
#6527AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6527AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6527AF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6527AF#FFFFFF#000000##FFFFFF
##6527AF1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6527af;
/* rgb */ color: rgb(101, 39, 175);
/* oklch */ color: oklch(44.3% 0.199 298.4);
Tailwind
colors: {
  custom: {
    50: '#9868c8',
    500: '#6527af',
    950: '#000000',
  },
}
SCSS
$custom: #6527af;
$custom-light: #9868c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6527af",
  "rgb": {
    "r": 101,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 267.353,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44265,
    "c": 0.19863,
    "h": 298.4
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#6527AF
secondary
#9DC66B
accent
#E7419B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6527AF

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

Preview Lab → · Contrast checker → · Palette generator →

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