#6C36B4#6C36B4

#6C36B4 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.188 H 298.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6C36B4
RGBrgb(108, 54, 180)
HSLhsl(266, 54%, 46%)
HSVhsv(266, 70%, 71%)
CMYKcmyk(40%, 70%, 0%, 29.4%)
CIE-LABlab(36.22, 49.50, -57.95)
CIE-LCHlch(36.22, 76.21, 310.50°)
OKLaboklab(47.2% 0.0897 -0.1654)
OKLCHoklch(47.2% 0.188 298.5)
XYZxyz(15.7396, 9.1215, 44.1026)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C36B4 #7EB436
analogous
#363FB4 #6C36B4 #AB36B4
triadic
#6C36B4 #B46C36 #36B46C
tetradic
#6C36B4 #B4363F #7EB436 #36B4AB
square
#6C36B4 #B4363F #7EB436 #36B4AB
split-complementary
#6C36B4 #B4AB36 #3FB436
monochromatic
#341A56 #502885 #6C36B4 #8B5ACD #AC89DC

Accessibility & contrast

On white

7.44
#6C36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6C36B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C36B4
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C36B4#FFFFFF#000000##FFFFFF
##6C36B41.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#5B5571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c36b4;
/* rgb */ color: rgb(108, 54, 180);
/* oklch */ color: oklch(47.2% 0.188 298.5);
Tailwind
colors: {
  custom: {
    50: '#9c71cb',
    500: '#6c36b4',
    950: '#000000',
  },
}
SCSS
$custom: #6c36b4;
$custom-light: #9c71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c36b4",
  "rgb": {
    "r": 108,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 265.714,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.18818,
    "h": 298.5
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#6C36B4
secondary
#A8C680
accent
#DD4B9E
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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