#6532A2#6532A2

#6532A2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.172 H 300.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6532A2
RGBrgb(101, 50, 162)
HSLhsl(267, 53%, 42%)
HSVhsv(267, 69%, 64%)
CMYKcmyk(37.7%, 69.1%, 0%, 36.5%)
CIE-LABlab(33.26, 45.48, -52.04)
CIE-LCHlch(33.26, 69.11, 311.16°)
OKLaboklab(44.46% 0.0868 -0.1483)
OKLCHoklch(44.46% 0.172 300.3)
XYZxyz(13.0274, 7.6564, 34.9669)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6532A2 #6FA232
analogous
#3237A2 #6532A2 #9D32A2
triadic
#6532A2 #A26532 #32A265
tetradic
#6532A2 #A23237 #6FA232 #32A29D
square
#6532A2 #A23237 #6FA232 #32A29D
split-complementary
#6532A2 #A29D32 #37A232
monochromatic
#2B1544 #482473 #6532A2 #834AC7 #A379D6

Accessibility & contrast

On white

8.30
#6532A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6532A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6532A2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6532A2#FFFFFF#000000##FFFFFF
##6532A21.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#574C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6532a2;
/* rgb */ color: rgb(101, 50, 162);
/* oklch */ color: oklch(44.5% 0.172 300.3);
Tailwind
colors: {
  custom: {
    50: '#966ebe',
    500: '#6532a2',
    950: '#000000',
  },
}
SCSS
$custom: #6532a2;
$custom-light: #966ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#6532a2",
  "rgb": {
    "r": 101,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 267.321,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44464,
    "c": 0.17179,
    "h": 300.3
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#6532A2
secondary
#9BBE72
accent
#DC4C9A
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6532A2

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

Preview Lab → · Contrast checker → · Palette generator →

#6532A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva