#6C36B7#6C36B7

#6C36B7 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.192 H 297.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6C36B7
RGBrgb(108, 54, 183)
HSLhsl(265, 54%, 46%)
HSVhsv(265, 70%, 72%)
CMYKcmyk(41%, 70.5%, 0%, 28.2%)
CIE-LABlab(36.45, 50.27, -59.34)
CIE-LCHlch(36.45, 77.77, 310.27°)
OKLaboklab(47.44% 0.0892 -0.1695)
OKLCHoklch(47.44% 0.192 297.8)
XYZxyz(16.0486, 9.2451, 45.7295)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C36B7 #81B736
analogous
#3641B7 #6C36B7 #AD36B7
triadic
#6C36B7 #B76C36 #36B76C
tetradic
#6C36B7 #B73641 #81B736 #36B7AD
square
#6C36B7 #B73641 #81B736 #36B7AD
split-complementary
#6C36B7 #B7AD36 #41B736
monochromatic
#341A58 #502888 #6C36B7 #8C5BCF #AD8BDD

Accessibility & contrast

On white

7.37
#6C36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6C36B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C36B7
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C36B7#FFFFFF#000000##FFFFFF
##6C36B71.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#595673
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c36b7;
/* rgb */ color: rgb(108, 54, 183);
/* oklch */ color: oklch(47.4% 0.192 297.8);
Tailwind
colors: {
  custom: {
    50: '#9c71ce',
    500: '#6c36b7',
    950: '#000000',
  },
}
SCSS
$custom: #6c36b7;
$custom-light: #9c71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c36b7",
  "rgb": {
    "r": 108,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 265.116,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47444,
    "c": 0.19155,
    "h": 297.8
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#6C36B7
secondary
#AAC782
accent
#DE4AA0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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