#6A36B4#6A36B4

#6A36B4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.188 H 297.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6A36B4
RGBrgb(106, 54, 180)
HSLhsl(265, 54%, 46%)
HSVhsv(265, 70%, 71%)
CMYKcmyk(41.1%, 70%, 0%, 29.4%)
CIE-LABlab(35.98, 49.12, -58.35)
CIE-LCHlch(35.98, 76.27, 310.09°)
OKLaboklab(46.98% 0.0869 -0.1667)
OKLCHoklch(46.98% 0.188 297.5)
XYZxyz(15.4991, 8.9975, 44.0913)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36B4 #80B436
analogous
#3641B4 #6A36B4 #A936B4
triadic
#6A36B4 #B46A36 #36B46A
tetradic
#6A36B4 #B43641 #80B436 #36B4A9
square
#6A36B4 #B43641 #80B436 #36B4A9
split-complementary
#6A36B4 #B4A936 #41B436
monochromatic
#331A56 #4E2885 #6A36B4 #8A5ACD #AB89DC

Accessibility & contrast

On white

7.50
#6A36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6A36B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A36B4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A36B4#FFFFFF#000000##FFFFFF
##6A36B41.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#585571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a36b4;
/* rgb */ color: rgb(106, 54, 180);
/* oklch */ color: oklch(47.0% 0.188 297.5);
Tailwind
colors: {
  custom: {
    50: '#9b71cb',
    500: '#6a36b4',
    950: '#000000',
  },
}
SCSS
$custom: #6a36b4;
$custom-light: #9b71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36b4",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 264.762,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4698,
    "c": 0.18794,
    "h": 297.5
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#6A36B4
secondary
#A9C680
accent
#DD4BA1
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6A36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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