#6525B0#6525B0

#6525B0 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.202 H 298.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6525B0
RGBrgb(101, 37, 176)
HSLhsl(268, 65%, 42%)
HSVhsv(268, 79%, 69%)
CMYKcmyk(42.6%, 79%, 0%, 31%)
CIE-LABlab(32.31, 54.95, -61.98)
CIE-LCHlch(32.31, 82.83, 311.56°)
OKLaboklab(44.15% 0.0958 -0.1774)
OKLCHoklch(44.15% 0.202 298.4)
XYZxyz(13.8628, 7.2242, 41.7299)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525B0 #70B025
analogous
#252BB0 #6525B0 #AB25B0
triadic
#6525B0 #B06525 #25B065
tetradic
#6525B0 #B0252B #70B025 #25B0AB
square
#6525B0 #B0252B #70B025 #25B0AB
split-complementary
#6525B0 #B0AB25 #2BB025
monochromatic
#2B104B #481A7D #6525B0 #833CD6 #A36FE1

Accessibility & contrast

On white

8.59
#6525B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6525B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6525B0
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6525B0#FFFFFF#000000##FFFFFF
##6525B01.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6525b0;
/* rgb */ color: rgb(101, 37, 176);
/* oklch */ color: oklch(44.2% 0.202 298.4);
Tailwind
colors: {
  custom: {
    50: '#9868c9',
    500: '#6525b0',
    950: '#000000',
  },
}
SCSS
$custom: #6525b0;
$custom-light: #9868c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6525b0",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 267.626,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44154,
    "c": 0.20161,
    "h": 298.4
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#6525B0
secondary
#9CC76A
accent
#E8409B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6525B0

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

Preview Lab → · Contrast checker → · Palette generator →

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