#6A36BC#6A36BC

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

Color values

HEX#6A36BC
RGBrgb(106, 54, 188)
HSLhsl(263, 55%, 47%)
HSVhsv(263, 71%, 74%)
CMYKcmyk(43.6%, 71.3%, 0%, 26.3%)
CIE-LABlab(36.62, 51.21, -62.03)
CIE-LCHlch(36.62, 80.43, 309.54°)
OKLaboklab(47.63% 0.0854 -0.1775)
OKLCHoklch(47.63% 0.197 295.7)
XYZxyz(16.3377, 9.3330, 48.5079)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36BC #88BC36
analogous
#3645BC #6A36BC #AD36BC
triadic
#6A36BC #BC6A36 #36BC6A
tetradic
#6A36BC #BC3645 #88BC36 #36BCAD
square
#6A36BC #BC3645 #88BC36 #36BCAD
split-complementary
#6A36BC #BCAD36 #45BC36
monochromatic
#341B5D #4F288C #6A36BC #8B5ED1 #AD8EDF

Accessibility & contrast

On white

7.33
#6A36BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A36BC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A36BC#FFFFFF#000000##FFFFFF
##6A36BC1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#545875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a36bc;
/* rgb */ color: rgb(106, 54, 188);
/* oklch */ color: oklch(47.6% 0.197 295.7);
Tailwind
colors: {
  custom: {
    50: '#9c71d1',
    500: '#6a36bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a36bc;
$custom-light: #9c71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36bc",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 263.284,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.19695,
    "h": 295.7
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#6A36BC
secondary
#AFC985
accent
#DF49A5
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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