#6A36B7#6A36B7

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

Color values

HEX#6A36B7
RGBrgb(106, 54, 183)
HSLhsl(264, 54%, 46%)
HSVhsv(264, 70%, 72%)
CMYKcmyk(42.1%, 70.5%, 0%, 28.2%)
CIE-LABlab(36.22, 49.90, -59.74)
CIE-LCHlch(36.22, 77.83, 309.87°)
OKLaboklab(47.22% 0.0863 -0.1707)
OKLCHoklch(47.22% 0.191 296.8)
XYZxyz(15.8080, 9.1211, 45.7182)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36B7 #83B736
analogous
#3643B7 #6A36B7 #AB36B7
triadic
#6A36B7 #B76A36 #36B76A
tetradic
#6A36B7 #B73643 #83B736 #36B7AB
square
#6A36B7 #B73643 #83B736 #36B7AB
split-complementary
#6A36B7 #B7AB36 #43B736
monochromatic
#331A58 #4F2888 #6A36B7 #8A5BCF #AC8BDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A36B7#FFFFFF#000000##FFFFFF
##6A36B71.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)
#0056BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#565673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a36b7;
/* rgb */ color: rgb(106, 54, 183);
/* oklch */ color: oklch(47.2% 0.191 296.8);
Tailwind
colors: {
  custom: {
    50: '#9b71ce',
    500: '#6a36b7',
    950: '#000000',
  },
}
SCSS
$custom: #6a36b7;
$custom-light: #9b71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36b7",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 264.186,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47223,
    "c": 0.19133,
    "h": 296.8
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#6A36B7
secondary
#ABC782
accent
#DE4AA2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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