#6D36AB#6D36AB

#6D36AB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.178 H 301.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6D36AB
RGBrgb(109, 54, 171)
HSLhsl(268, 52%, 44%)
HSVhsv(268, 68%, 67%)
CMYKcmyk(36.3%, 68.4%, 0%, 32.9%)
CIE-LABlab(35.65, 47.40, -53.50)
CIE-LCHlch(35.65, 71.48, 311.54°)
OKLaboklab(46.61% 0.0925 -0.1523)
OKLCHoklch(46.61% 0.178 301.3)
XYZxyz(14.9748, 8.8297, 39.4356)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D36AB #74AB36
analogous
#363AAB #6D36AB #A836AB
triadic
#6D36AB #AB6D36 #36AB6D
tetradic
#6D36AB #AB363A #74AB36 #36ABA8
square
#6D36AB #AB363A #74AB36 #36ABA8
split-complementary
#6D36AB #ABA836 #3AAB36
monochromatic
#32194E #4F277C #6D36AB #8C55C9 #AB83D8

Accessibility & contrast

On white

7.59
#6D36AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6D36AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D36AB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D36AB#FFFFFF#000000##FFFFFF
##6D36AB1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#60516C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d36ab;
/* rgb */ color: rgb(109, 54, 171);
/* oklch */ color: oklch(46.6% 0.178 301.3);
Tailwind
colors: {
  custom: {
    50: '#9c71c5',
    500: '#6d36ab',
    950: '#000000',
  },
}
SCSS
$custom: #6d36ab;
$custom-light: #9c71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d36ab",
  "rgb": {
    "r": 109,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 268.205,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.17821,
    "h": 301.3
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#6D36AB
secondary
#A1C27B
accent
#DB4C98
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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