#6B36BD#6B36BD

#6B36BD is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.198 H 295.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6B36BD
RGBrgb(107, 54, 189)
HSLhsl(264, 56%, 48%)
HSVhsv(264, 71%, 74%)
CMYKcmyk(43.4%, 71.4%, 0%, 25.9%)
CIE-LABlab(36.81, 51.64, -62.29)
CIE-LCHlch(36.81, 80.92, 309.66°)
OKLaboklab(47.82% 0.0866 -0.1782)
OKLCHoklch(47.82% 0.198 295.9)
XYZxyz(16.5654, 9.4379, 49.0832)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B36BD #88BD36
analogous
#3644BD #6B36BD #AF36BD
triadic
#6B36BD #BD6B36 #36BD6B
tetradic
#6B36BD #BD3644 #88BD36 #36BDAF
square
#6B36BD #BD3644 #88BD36 #36BDAF
split-complementary
#6B36BD #BDAF36 #44BD36
monochromatic
#351B5E #50288D #6B36BD #8C5FD1 #AE8FDF

Accessibility & contrast

On white

7.27
#6B36BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6B36BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B36BD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B36BD#FFFFFF#000000##FFFFFF
##6B36BD1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b36bd;
/* rgb */ color: rgb(107, 54, 189);
/* oklch */ color: oklch(47.8% 0.198 295.9);
Tailwind
colors: {
  custom: {
    50: '#9c72d2',
    500: '#6b36bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b36bd;
$custom-light: #9c72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b36bd",
  "rgb": {
    "r": 107,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 263.556,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47824,
    "c": 0.19816,
    "h": 295.9
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#6B36BD
secondary
#AFC985
accent
#DF49A4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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