#6523A4#6523A4

#6523A4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.191 H 301.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6523A4
RGBrgb(101, 35, 164)
HSLhsl(271, 65%, 39%)
HSVhsv(271, 79%, 64%)
CMYKcmyk(38.4%, 78.7%, 0%, 35.7%)
CIE-LABlab(30.99, 52.84, -56.93)
CIE-LCHlch(30.99, 77.67, 312.87°)
OKLaboklab(42.91% 0.1008 -0.1625)
OKLCHoklch(42.91% 0.191 301.8)
XYZxyz(12.6671, 6.6490, 35.7308)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6523A4 #62A423
analogous
#2523A4 #6523A4 #A423A3
triadic
#6523A4 #A46523 #23A465
tetradic
#6523A4 #A42523 #62A423 #23A3A4
square
#6523A4 #A42523 #62A423 #23A3A4
split-complementary
#6523A4 #A3A423 #23A425
monochromatic
#270D3F #461872 #6523A4 #8431D3 #A264DE

Accessibility & contrast

On white

9.01
#6523A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6523A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6523A4
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6523A4#FFFFFF#000000##FFFFFF
##6523A41.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#574563
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6523a4;
/* rgb */ color: rgb(101, 35, 164);
/* oklch */ color: oklch(42.9% 0.191 301.8);
Tailwind
colors: {
  custom: {
    50: '#9766c0',
    500: '#6523a4',
    950: '#000000',
  },
}
SCSS
$custom: #6523a4;
$custom-light: #9766c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6523a4",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 270.698,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42914,
    "c": 0.19126,
    "h": 301.8
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#6523A4
secondary
#90C360
accent
#E84092
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6523A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6523A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva