#6C36B2#6C36B2

#6C36B2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.186 H 299.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6C36B2
RGBrgb(108, 54, 178)
HSLhsl(266, 53%, 45%)
HSVhsv(266, 70%, 70%)
CMYKcmyk(39.3%, 69.7%, 0%, 30.2%)
CIE-LABlab(36.06, 48.98, -57.01)
CIE-LCHlch(36.06, 75.17, 310.67°)
OKLaboklab(47.04% 0.0901 -0.1627)
OKLCHoklch(47.04% 0.186 299)
XYZxyz(15.5374, 9.0406, 43.0373)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C36B2 #7CB236
analogous
#363EB2 #6C36B2 #AA36B2
triadic
#6C36B2 #B26C36 #36B26C
tetradic
#6C36B2 #B2363E #7CB236 #36B2AA
square
#6C36B2 #B2363E #7CB236 #36B2AA
split-complementary
#6C36B2 #B2AA36 #3EB236
monochromatic
#331A54 #502883 #6C36B2 #8B59CD #AC88DB

Accessibility & contrast

On white

7.48
#6C36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6C36B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C36B2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C36B2#FFFFFF#000000##FFFFFF
##6C36B21.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#5C5470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c36b2;
/* rgb */ color: rgb(108, 54, 178);
/* oklch */ color: oklch(47.0% 0.186 299.0);
Tailwind
colors: {
  custom: {
    50: '#9c71ca',
    500: '#6c36b2',
    950: '#000000',
  },
}
SCSS
$custom: #6c36b2;
$custom-light: #9c71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c36b2",
  "rgb": {
    "r": 108,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 266.129,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.18594,
    "h": 299
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#6C36B2
secondary
#A6C57F
accent
#DD4B9D
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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