#6B36BB#6B36BB

#6B36BB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.196 H 296.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6B36BB
RGBrgb(107, 54, 187)
HSLhsl(264, 55%, 47%)
HSVhsv(264, 71%, 73%)
CMYKcmyk(42.8%, 71.1%, 0%, 26.7%)
CIE-LABlab(36.65, 51.12, -61.38)
CIE-LCHlch(36.65, 79.88, 309.79°)
OKLaboklab(47.66% 0.087 -0.1755)
OKLCHoklch(47.66% 0.196 296.4)
XYZxyz(16.3498, 9.3516, 47.9477)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B36BB #86BB36
analogous
#3643BB #6B36BB #AE36BB
triadic
#6B36BB #BB6B36 #36BB6B
tetradic
#6B36BB #BB3643 #86BB36 #36BBAE
square
#6B36BB #BB3643 #86BB36 #36BBAE
split-complementary
#6B36BB #BBAE36 #43BB36
monochromatic
#351B5C #50288C #6B36BB #8B5ED0 #AD8DDE

Accessibility & contrast

On white

7.32
#6B36BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6B36BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B36BB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B36BB#FFFFFF#000000##FFFFFF
##6B36BB1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#565775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b36bb;
/* rgb */ color: rgb(107, 54, 187);
/* oklch */ color: oklch(47.7% 0.196 296.4);
Tailwind
colors: {
  custom: {
    50: '#9c71d0',
    500: '#6b36bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b36bb;
$custom-light: #9c71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b36bb",
  "rgb": {
    "r": 107,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 263.91,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47659,
    "c": 0.19593,
    "h": 296.4
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#6B36BB
secondary
#ADC984
accent
#DF49A3
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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