#6A36AA#6A36AA

#6A36AA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.177 H 300.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#6A36AA
RGBrgb(106, 54, 170)
HSLhsl(267, 52%, 44%)
HSVhsv(267, 68%, 67%)
CMYKcmyk(37.6%, 68.2%, 0%, 33.3%)
CIE-LABlab(35.21, 46.53, -53.64)
CIE-LCHlch(35.21, 71.01, 310.94°)
OKLaboklab(46.19% 0.0884 -0.1528)
OKLCHoklch(46.19% 0.177 300.1)
XYZxyz(14.5169, 8.6047, 38.9185)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36AA #76AA36
analogous
#363CAA #6A36AA #A436AA
triadic
#6A36AA #AA6A36 #36AA6A
tetradic
#6A36AA #AA363C #76AA36 #36AAA4
square
#6A36AA #AA363C #76AA36 #36AAA4
split-complementary
#6A36AA #AAA436 #3CAA36
monochromatic
#30184D #4D277C #6A36AA #8954C9 #A983D8

Accessibility & contrast

On white

7.72
#6A36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6A36AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A36AA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A36AA#FFFFFF#000000##FFFFFF
##6A36AA1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#5C516B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a36aa;
/* rgb */ color: rgb(106, 54, 170);
/* oklch */ color: oklch(46.2% 0.177 300.1);
Tailwind
colors: {
  custom: {
    50: '#9a71c4',
    500: '#6a36aa',
    950: '#000000',
  },
}
SCSS
$custom: #6a36aa;
$custom-light: #9a71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36aa",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 266.897,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.17656,
    "h": 300.1
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#6A36AA
secondary
#A2C17B
accent
#DB4D9B
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A36AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6A36AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva