#6527B2#6527B2

#6527B2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.202 H 297.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6527B2
RGBrgb(101, 39, 178)
HSLhsl(267, 64%, 43%)
HSVhsv(267, 78%, 70%)
CMYKcmyk(43.3%, 78.1%, 0%, 30.2%)
CIE-LABlab(32.77, 54.63, -62.42)
CIE-LCHlch(32.77, 82.95, 311.19°)
OKLaboklab(44.53% 0.0937 -0.1787)
OKLCHoklch(44.53% 0.202 297.7)
XYZxyz(14.1261, 7.4318, 42.8011)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6527B2 #74B227
analogous
#272EB2 #6527B2 #AB27B2
triadic
#6527B2 #B26527 #27B265
tetradic
#6527B2 #B2272E #74B227 #27B2AB
square
#6527B2 #B2272E #74B227 #27B2AB
split-complementary
#6527B2 #B2AB27 #2EB227
monochromatic
#2C114E #491C80 #6527B2 #8341D5 #A473E0

Accessibility & contrast

On white

8.45
#6527B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6527B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6527B2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6527B2#FFFFFF#000000##FFFFFF
##6527B21.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#514D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6527b2;
/* rgb */ color: rgb(101, 39, 178);
/* oklch */ color: oklch(44.5% 0.202 297.7);
Tailwind
colors: {
  custom: {
    50: '#9869ca',
    500: '#6527b2',
    950: '#000000',
  },
}
SCSS
$custom: #6527b2;
$custom-light: #9869ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6527b2",
  "rgb": {
    "r": 101,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 266.763,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.20176,
    "h": 297.7
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#6527B2
secondary
#9FC86D
accent
#E7419D
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6527B2

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

Preview Lab → · Contrast checker → · Palette generator →

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