#6530A2#6530A2

#6530A2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.174 H 300.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6530A2
RGBrgb(101, 48, 162)
HSLhsl(268, 54%, 41%)
HSVhsv(268, 70%, 64%)
CMYKcmyk(37.7%, 70.4%, 0%, 36.5%)
CIE-LABlab(32.90, 46.49, -52.62)
CIE-LCHlch(32.90, 70.22, 311.46°)
OKLaboklab(44.21% 0.0889 -0.15)
OKLCHoklch(44.21% 0.174 300.7)
XYZxyz(12.9438, 7.4891, 34.9390)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6530A2 #6DA230
analogous
#3034A2 #6530A2 #9E30A2
triadic
#6530A2 #A26530 #30A265
tetradic
#6530A2 #A23034 #6DA230 #30A29E
square
#6530A2 #A23034 #6DA230 #30A29E
split-complementary
#6530A2 #A29E30 #34A230
monochromatic
#2A1444 #482273 #6530A2 #8347C8 #A376D6

Accessibility & contrast

On white

8.41
#6530A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6530A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6530A2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6530A2#FFFFFF#000000##FFFFFF
##6530A21.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#584B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6530a2;
/* rgb */ color: rgb(101, 48, 162);
/* oklch */ color: oklch(44.2% 0.174 300.7);
Tailwind
colors: {
  custom: {
    50: '#966dbe',
    500: '#6530a2',
    950: '#000000',
  },
}
SCSS
$custom: #6530a2;
$custom-light: #966dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6530a2",
  "rgb": {
    "r": 101,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 267.895,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.17436,
    "h": 300.7
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#6530A2
secondary
#9ABE6F
accent
#DE4A99
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6530A2

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

Preview Lab → · Contrast checker → · Palette generator →

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