#6B36B4#6B36B4

#6B36B4 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.188 H 298.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6B36B4
RGBrgb(107, 54, 180)
HSLhsl(265, 54%, 46%)
HSVhsv(265, 70%, 71%)
CMYKcmyk(40.6%, 70%, 0%, 29.4%)
CIE-LABlab(36.10, 49.31, -58.15)
CIE-LCHlch(36.10, 76.24, 310.30°)
OKLaboklab(47.09% 0.0883 -0.166)
OKLCHoklch(47.09% 0.188 298)
XYZxyz(15.6187, 9.0592, 44.0969)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B36B4 #7FB436
analogous
#3640B4 #6B36B4 #AA36B4
triadic
#6B36B4 #B46B36 #36B46B
tetradic
#6B36B4 #B43640 #7FB436 #36B4AA
square
#6B36B4 #B43640 #7FB436 #36B4AA
split-complementary
#6B36B4 #B4AA36 #40B436
monochromatic
#331A56 #4F2885 #6B36B4 #8A5ACD #AC89DC

Accessibility & contrast

On white

7.47
#6B36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6B36B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B36B4
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B36B4#FFFFFF#000000##FFFFFF
##6B36B41.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b36b4;
/* rgb */ color: rgb(107, 54, 180);
/* oklch */ color: oklch(47.1% 0.188 298.0);
Tailwind
colors: {
  custom: {
    50: '#9b71cb',
    500: '#6b36b4',
    950: '#000000',
  },
}
SCSS
$custom: #6b36b4;
$custom-light: #9b71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b36b4",
  "rgb": {
    "r": 107,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 265.238,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.18806,
    "h": 298
  },
  "luminance": 0.09059
}

Semantic roles & 50–950 ramp

primary
#6B36B4
secondary
#A8C680
accent
#DD4BA0
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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