#6B36C6#6B36C6

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

Color values

HEX#6B36C6
RGBrgb(107, 54, 198)
HSLhsl(262, 57%, 49%)
HSVhsv(262, 73%, 78%)
CMYKcmyk(46%, 72.7%, 0%, 22.4%)
CIE-LABlab(37.56, 54.00, -66.35)
CIE-LCHlch(37.56, 85.55, 309.14°)
OKLaboklab(48.58% 0.0847 -0.1901)
OKLCHoklch(48.58% 0.208 294)
XYZxyz(17.5728, 9.8408, 54.3887)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B36C6 #91C636
analogous
#3649C6 #6B36C6 #B336C6
triadic
#6B36C6 #C66B36 #36C66B
tetradic
#6B36C6 #C63649 #91C636 #36C6B3
square
#6B36C6 #C63649 #91C636 #36C6B3
split-complementary
#6B36C6 #C6B336 #49C636
monochromatic
#371C66 #512996 #6B36C6 #8E64D5 #B194E2

Accessibility & contrast

On white

7.07
#6B36C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6B36C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B36C6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B36C6#FFFFFF#000000##FFFFFF
##6B36C61.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b36c6;
/* rgb */ color: rgb(107, 54, 198);
/* oklch */ color: oklch(48.6% 0.208 294.0);
Tailwind
colors: {
  custom: {
    50: '#9d72d8',
    500: '#6b36c6',
    950: '#000000',
  },
}
SCSS
$custom: #6b36c6;
$custom-light: #9d72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b36c6",
  "rgb": {
    "r": 107,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 262.083,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.20817,
    "h": 294
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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