#6525B1#6525B1

#6525B1 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.203 H 298.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6525B1
RGBrgb(101, 37, 177)
HSLhsl(267, 65%, 42%)
HSVhsv(267, 79%, 69%)
CMYKcmyk(42.9%, 79.1%, 0%, 30.6%)
CIE-LABlab(32.40, 55.20, -62.43)
CIE-LCHlch(32.40, 83.33, 311.48°)
OKLaboklab(44.24% 0.0955 -0.1787)
OKLCHoklch(44.24% 0.203 298.1)
XYZxyz(13.9622, 7.2639, 42.2529)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525B1 #71B125
analogous
#252BB1 #6525B1 #AB25B1
triadic
#6525B1 #B16525 #25B165
tetradic
#6525B1 #B1252B #71B125 #25B1AB
square
#6525B1 #B1252B #71B125 #25B1AB
split-complementary
#6525B1 #B1AB25 #2BB125
monochromatic
#2B104C #481A7E #6525B1 #833DD6 #A36FE1

Accessibility & contrast

On white

8.56
#6525B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6525B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6525B1
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6525B1#FFFFFF#000000##FFFFFF
##6525B11.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#524C6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6525b1;
/* rgb */ color: rgb(101, 37, 177);
/* oklch */ color: oklch(44.2% 0.203 298.1);
Tailwind
colors: {
  custom: {
    50: '#9868c9',
    500: '#6525b1',
    950: '#000000',
  },
}
SCSS
$custom: #6525b1;
$custom-light: #9868c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6525b1",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 267.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44243,
    "c": 0.20264,
    "h": 298.1
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#6525B1
secondary
#9DC86A
accent
#E83F9B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6525B1

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

Preview Lab → · Contrast checker → · Palette generator →

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