#6D36B8#6D36B8

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

Color values

HEX#6D36B8
RGBrgb(109, 54, 184)
HSLhsl(265, 55%, 47%)
HSVhsv(265, 71%, 72%)
CMYKcmyk(40.8%, 70.7%, 0%, 27.8%)
CIE-LABlab(36.65, 50.71, -59.61)
CIE-LCHlch(36.65, 78.26, 310.39°)
OKLaboklab(47.64% 0.0905 -0.1703)
OKLCHoklch(47.64% 0.193 298)
XYZxyz(16.2753, 9.3500, 46.2854)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D36B8 #81B836
analogous
#3640B8 #6D36B8 #AE36B8
triadic
#6D36B8 #B86D36 #36B86D
tetradic
#6D36B8 #B83640 #81B836 #36B8AE
square
#6D36B8 #B83640 #81B836 #36B8AE
split-complementary
#6D36B8 #B8AE36 #40B836
monochromatic
#351A59 #512889 #6D36B8 #8D5CCF #AE8BDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D36B8#FFFFFF#000000##FFFFFF
##6D36B81.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)
#0056BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#5B5673
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d36b8;
/* rgb */ color: rgb(109, 54, 184);
/* oklch */ color: oklch(47.6% 0.193 298.0);
Tailwind
colors: {
  custom: {
    50: '#9d72ce',
    500: '#6d36b8',
    950: '#000000',
  },
}
SCSS
$custom: #6d36b8;
$custom-light: #9d72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d36b8",
  "rgb": {
    "r": 109,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 265.385,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47635,
    "c": 0.19279,
    "h": 298
  },
  "luminance": 0.0935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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