#6B36B7#6B36B7

#6B36B7 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.191 H 297.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6B36B7
RGBrgb(107, 54, 183)
HSLhsl(265, 54%, 46%)
HSVhsv(265, 70%, 72%)
CMYKcmyk(41.5%, 70.5%, 0%, 28.2%)
CIE-LABlab(36.33, 50.08, -59.54)
CIE-LCHlch(36.33, 77.80, 310.07°)
OKLaboklab(47.33% 0.0878 -0.1701)
OKLCHoklch(47.33% 0.191 297.3)
XYZxyz(15.9276, 9.1827, 45.7238)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B36B7 #82B736
analogous
#3642B7 #6B36B7 #AC36B7
triadic
#6B36B7 #B76B36 #36B76B
tetradic
#6B36B7 #B73642 #82B736 #36B7AC
square
#6B36B7 #B73642 #82B736 #36B7AC
split-complementary
#6B36B7 #B7AC36 #42B736
monochromatic
#341A58 #4F2888 #6B36B7 #8B5BCF #AC8BDD

Accessibility & contrast

On white

7.40
#6B36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6B36B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B36B7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B36B7#FFFFFF#000000##FFFFFF
##6B36B71.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b36b7;
/* rgb */ color: rgb(107, 54, 183);
/* oklch */ color: oklch(47.3% 0.191 297.3);
Tailwind
colors: {
  custom: {
    50: '#9c71ce',
    500: '#6b36b7',
    950: '#000000',
  },
}
SCSS
$custom: #6b36b7;
$custom-light: #9c71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b36b7",
  "rgb": {
    "r": 107,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 264.651,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47333,
    "c": 0.19144,
    "h": 297.3
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#6B36B7
secondary
#ABC782
accent
#DE4AA1
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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