#6C36BD#6C36BD

#6C36BD is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.198 H 296.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6C36BD
RGBrgb(108, 54, 189)
HSLhsl(264, 56%, 48%)
HSVhsv(264, 71%, 74%)
CMYKcmyk(42.9%, 71.4%, 0%, 25.9%)
CIE-LABlab(36.93, 51.82, -62.10)
CIE-LCHlch(36.93, 80.88, 309.85°)
OKLaboklab(47.93% 0.0881 -0.1776)
OKLCHoklch(47.93% 0.198 296.4)
XYZxyz(16.6864, 9.5002, 49.0888)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C36BD #87BD36
analogous
#3643BD #6C36BD #B036BD
triadic
#6C36BD #BD6C36 #36BD6C
tetradic
#6C36BD #BD3643 #87BD36 #36BDB0
square
#6C36BD #BD3643 #87BD36 #36BDB0
split-complementary
#6C36BD #BDB036 #43BD36
monochromatic
#361B5E #51288D #6C36BD #8D5FD1 #AF8FDF

Accessibility & contrast

On white

7.24
#6C36BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6C36BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C36BD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C36BD#FFFFFF#000000##FFFFFF
##6C36BD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#575876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c36bd;
/* rgb */ color: rgb(108, 54, 189);
/* oklch */ color: oklch(47.9% 0.198 296.4);
Tailwind
colors: {
  custom: {
    50: '#9d72d2',
    500: '#6c36bd',
    950: '#000000',
  },
}
SCSS
$custom: #6c36bd;
$custom-light: #9d72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c36bd",
  "rgb": {
    "r": 108,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 264,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47932,
    "c": 0.19825,
    "h": 296.4
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#6C36BD
secondary
#AEC985
accent
#DF49A3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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