#6B36B2#6B36B2

#6B36B2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.186 H 298.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6B36B2
RGBrgb(107, 54, 178)
HSLhsl(266, 53%, 45%)
HSVhsv(266, 70%, 70%)
CMYKcmyk(39.9%, 69.7%, 0%, 30.2%)
CIE-LABlab(35.94, 48.79, -57.21)
CIE-LCHlch(35.94, 75.19, 310.46°)
OKLaboklab(46.93% 0.0886 -0.1633)
OKLCHoklch(46.93% 0.186 298.5)
XYZxyz(15.4164, 8.9783, 43.0316)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B36B2 #7DB236
analogous
#363FB2 #6B36B2 #A936B2
triadic
#6B36B2 #B26B36 #36B26B
tetradic
#6B36B2 #B2363F #7DB236 #36B2A9
square
#6B36B2 #B2363F #7DB236 #36B2A9
split-complementary
#6B36B2 #B2A936 #3FB236
monochromatic
#331A54 #4F2883 #6B36B2 #8A59CD #AB88DB

Accessibility & contrast

On white

7.51
#6B36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B36B2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B36B2#FFFFFF#000000##FFFFFF
##6B36B21.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#5A5470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b36b2;
/* rgb */ color: rgb(107, 54, 178);
/* oklch */ color: oklch(46.9% 0.186 298.5);
Tailwind
colors: {
  custom: {
    50: '#9b71ca',
    500: '#6b36b2',
    950: '#000000',
  },
}
SCSS
$custom: #6b36b2;
$custom-light: #9b71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b36b2",
  "rgb": {
    "r": 107,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 265.645,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46932,
    "c": 0.1858,
    "h": 298.5
  },
  "luminance": 0.08978
}

Semantic roles & 50–950 ramp

primary
#6B36B2
secondary
#A7C57F
accent
#DD4B9E
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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