#6D36B7#6D36B7

#6D36B7 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.192 H 298.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6D36B7
RGBrgb(109, 54, 183)
HSLhsl(266, 54%, 46%)
HSVhsv(266, 70%, 72%)
CMYKcmyk(40.4%, 70.5%, 0%, 28.2%)
CIE-LABlab(36.57, 50.46, -59.14)
CIE-LCHlch(36.57, 77.74, 310.47°)
OKLaboklab(47.56% 0.0906 -0.1689)
OKLCHoklch(47.56% 0.192 298.2)
XYZxyz(16.1709, 9.3082, 45.7353)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D36B7 #80B736
analogous
#3640B7 #6D36B7 #AE36B7
triadic
#6D36B7 #B76D36 #36B76D
tetradic
#6D36B7 #B73640 #80B736 #36B7AE
square
#6D36B7 #B73640 #80B736 #36B7AE
split-complementary
#6D36B7 #B7AE36 #40B736
monochromatic
#351A58 #512888 #6D36B7 #8D5BCF #AE8BDD

Accessibility & contrast

On white

7.34
#6D36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6D36B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D36B7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D36B7#FFFFFF#000000##FFFFFF
##6D36B71.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#5B5673
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d36b7;
/* rgb */ color: rgb(109, 54, 183);
/* oklch */ color: oklch(47.6% 0.192 298.2);
Tailwind
colors: {
  custom: {
    50: '#9d71cd',
    500: '#6d36b7',
    950: '#000000',
  },
}
SCSS
$custom: #6d36b7;
$custom-light: #9d71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d36b7",
  "rgb": {
    "r": 109,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 265.581,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.19167,
    "h": 298.2
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#6D36B7
secondary
#A9C782
accent
#DE4A9F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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