#6A36BB#6A36BB

#6A36BB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.196 H 295.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6A36BB
RGBrgb(106, 54, 187)
HSLhsl(263, 55%, 47%)
HSVhsv(263, 71%, 73%)
CMYKcmyk(43.3%, 71.1%, 0%, 26.7%)
CIE-LABlab(36.54, 50.94, -61.57)
CIE-LCHlch(36.54, 79.92, 309.60°)
OKLaboklab(47.55% 0.0856 -0.1761)
OKLCHoklch(47.55% 0.196 295.9)
XYZxyz(16.2303, 9.2900, 47.9421)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36BB #87BB36
analogous
#3644BB #6A36BB #AD36BB
triadic
#6A36BB #BB6A36 #36BB6A
tetradic
#6A36BB #BB3644 #87BB36 #36BBAD
square
#6A36BB #BB3644 #87BB36 #36BBAD
split-complementary
#6A36BB #BBAD36 #44BB36
monochromatic
#341B5C #4F288C #6A36BB #8B5ED0 #AD8DDE

Accessibility & contrast

On white

7.35
#6A36BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A36BB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A36BB#FFFFFF#000000##FFFFFF
##6A36BB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#545775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a36bb;
/* rgb */ color: rgb(106, 54, 187);
/* oklch */ color: oklch(47.5% 0.196 295.9);
Tailwind
colors: {
  custom: {
    50: '#9c71d0',
    500: '#6a36bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a36bb;
$custom-light: #9c71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36bb",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 263.459,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4755,
    "c": 0.19583,
    "h": 295.9
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#6A36BB
secondary
#AEC984
accent
#DF49A4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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