#6A36BD#6A36BD

#6A36BD is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.198 H 295.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6A36BD
RGBrgb(106, 54, 189)
HSLhsl(263, 56%, 48%)
HSVhsv(263, 71%, 74%)
CMYKcmyk(43.9%, 71.4%, 0%, 25.9%)
CIE-LABlab(36.70, 51.47, -62.49)
CIE-LCHlch(36.70, 80.95, 309.48°)
OKLaboklab(47.72% 0.0852 -0.1788)
OKLCHoklch(47.72% 0.198 295.5)
XYZxyz(16.4459, 9.3762, 49.0775)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36BD #89BD36
analogous
#3645BD #6A36BD #AD36BD
triadic
#6A36BD #BD6A36 #36BD6A
tetradic
#6A36BD #BD3645 #89BD36 #36BDAD
square
#6A36BD #BD3645 #89BD36 #36BDAD
split-complementary
#6A36BD #BDAD36 #45BD36
monochromatic
#351B5E #4F288D #6A36BD #8B5FD1 #AD8FDF

Accessibility & contrast

On white

7.30
#6A36BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6A36BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A36BD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A36BD#FFFFFF#000000##FFFFFF
##6A36BD1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#535876
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a36bd;
/* rgb */ color: rgb(106, 54, 189);
/* oklch */ color: oklch(47.7% 0.198 295.5);
Tailwind
colors: {
  custom: {
    50: '#9c71d2',
    500: '#6a36bd',
    950: '#000000',
  },
}
SCSS
$custom: #6a36bd;
$custom-light: #9c71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36bd",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 263.111,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.19808,
    "h": 295.5
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#6A36BD
secondary
#AFC985
accent
#DF49A5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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