#6D36B2#6D36B2

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

Color values

HEX#6D36B2
RGBrgb(109, 54, 178)
HSLhsl(267, 53%, 45%)
HSVhsv(267, 70%, 70%)
CMYKcmyk(38.8%, 69.7%, 0%, 30.2%)
CIE-LABlab(36.18, 49.18, -56.81)
CIE-LCHlch(36.18, 75.14, 310.88°)
OKLaboklab(47.16% 0.0915 -0.162)
OKLCHoklch(47.16% 0.186 299.4)
XYZxyz(15.6597, 9.1037, 43.0430)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D36B2 #7BB236
analogous
#363DB2 #6D36B2 #AB36B2
triadic
#6D36B2 #B26D36 #36B26D
tetradic
#6D36B2 #B2363D #7BB236 #36B2AB
square
#6D36B2 #B2363D #7BB236 #36B2AB
split-complementary
#6D36B2 #B2AB36 #3DB236
monochromatic
#331A54 #502883 #6D36B2 #8C59CD #AD88DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D36B2#FFFFFF#000000##FFFFFF
##6D36B21.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)
#0055B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#5D5470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d36b2;
/* rgb */ color: rgb(109, 54, 178);
/* oklch */ color: oklch(47.2% 0.186 299.4);
Tailwind
colors: {
  custom: {
    50: '#9c71ca',
    500: '#6d36b2',
    950: '#000000',
  },
}
SCSS
$custom: #6d36b2;
$custom-light: #9c71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d36b2",
  "rgb": {
    "r": 109,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 266.613,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.18608,
    "h": 299.4
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#6D36B2
secondary
#A6C57F
accent
#DD4B9C
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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