#6D36B5#6D36B5

#6D36B5 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.189 H 298.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6D36B5
RGBrgb(109, 54, 181)
HSLhsl(266, 54%, 46%)
HSVhsv(266, 70%, 71%)
CMYKcmyk(39.8%, 70.2%, 0%, 29%)
CIE-LABlab(36.41, 49.94, -58.21)
CIE-LCHlch(36.41, 76.70, 310.63°)
OKLaboklab(47.4% 0.091 -0.1662)
OKLCHoklch(47.4% 0.189 298.7)
XYZxyz(15.9642, 9.2255, 44.6467)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D36B5 #7EB536
analogous
#363EB5 #6D36B5 #AC36B5
triadic
#6D36B5 #B56D36 #36B56D
tetradic
#6D36B5 #B5363E #7EB536 #36B5AC
square
#6D36B5 #B5363E #7EB536 #36B5AC
split-complementary
#6D36B5 #B5AC36 #3EB536
monochromatic
#341A57 #512886 #6D36B5 #8C5ACE #AD89DC

Accessibility & contrast

On white

7.38
#6D36B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6D36B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D36B5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D36B5#FFFFFF#000000##FFFFFF
##6D36B51.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#5C5571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d36b5;
/* rgb */ color: rgb(109, 54, 181);
/* oklch */ color: oklch(47.4% 0.189 298.7);
Tailwind
colors: {
  custom: {
    50: '#9d71cc',
    500: '#6d36b5',
    950: '#000000',
  },
}
SCSS
$custom: #6d36b5;
$custom-light: #9d71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d36b5",
  "rgb": {
    "r": 109,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 265.984,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.18944,
    "h": 298.7
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#6D36B5
secondary
#A8C681
accent
#DD4A9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D36B5

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

Preview Lab → · Contrast checker → · Palette generator →

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