#6531A3#6531A3

#6531A3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.174 H 300.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6531A3
RGBrgb(101, 49, 163)
HSLhsl(267, 54%, 42%)
HSVhsv(267, 70%, 64%)
CMYKcmyk(38%, 69.9%, 0%, 36.1%)
CIE-LABlab(33.15, 46.24, -52.81)
CIE-LCHlch(33.15, 70.19, 311.21°)
OKLaboklab(44.41% 0.0877 -0.1505)
OKLCHoklch(44.41% 0.174 300.2)
XYZxyz(13.0744, 7.6076, 35.4228)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6531A3 #6FA331
analogous
#3136A3 #6531A3 #9E31A3
triadic
#6531A3 #A36531 #31A365
tetradic
#6531A3 #A33136 #6FA331 #31A39E
square
#6531A3 #A33136 #6FA331 #31A39E
split-complementary
#6531A3 #A39E31 #36A331
monochromatic
#2B1545 #482374 #6531A3 #8349C8 #A378D6

Accessibility & contrast

On white

8.33
#6531A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6531A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6531A3
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6531A3#FFFFFF#000000##FFFFFF
##6531A31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6531a3;
/* rgb */ color: rgb(101, 49, 163);
/* oklch */ color: oklch(44.4% 0.174 300.2);
Tailwind
colors: {
  custom: {
    50: '#966dbf',
    500: '#6531a3',
    950: '#000000',
  },
}
SCSS
$custom: #6531a3;
$custom-light: #966dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6531a3",
  "rgb": {
    "r": 101,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 267.368,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.17421,
    "h": 300.2
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#6531A3
secondary
#9BBF71
accent
#DD4B9A
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6531A3

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

Preview Lab → · Contrast checker → · Palette generator →

#6531A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva