#6A36C6#6A36C6

#6A36C6 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.208 H 293.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6A36C6
RGBrgb(106, 54, 198)
HSLhsl(262, 57%, 49%)
HSVhsv(262, 73%, 78%)
CMYKcmyk(46.5%, 72.7%, 0%, 22.4%)
CIE-LABlab(37.44, 53.84, -66.54)
CIE-LCHlch(37.44, 85.59, 308.98°)
OKLaboklab(48.47% 0.0833 -0.1907)
OKLCHoklch(48.47% 0.208 293.6)
XYZxyz(17.4533, 9.7792, 54.3831)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36C6 #92C636
analogous
#364AC6 #6A36C6 #B236C6
triadic
#6A36C6 #C66A36 #36C66A
tetradic
#6A36C6 #C6364A #92C636 #36C6B2
square
#6A36C6 #C6364A #92C636 #36C6B2
split-complementary
#6A36C6 #C6B236 #4AC636
monochromatic
#371C66 #502996 #6A36C6 #8D64D5 #B094E2

Accessibility & contrast

On white

7.10
#6A36C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6A36C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A36C6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A36C6#FFFFFF#000000##FFFFFF
##6A36C61.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#4E5C7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a36c6;
/* rgb */ color: rgb(106, 54, 198);
/* oklch */ color: oklch(48.5% 0.208 293.6);
Tailwind
colors: {
  custom: {
    50: '#9d72d8',
    500: '#6a36c6',
    950: '#000000',
  },
}
SCSS
$custom: #6a36c6;
$custom-light: #9d72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36c6",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 261.667,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48473,
    "c": 0.20812,
    "h": 293.6
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#6A36C6
secondary
#B5CD8B
accent
#E047A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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