#6D36B4#6D36B4

#6D36B4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.188 H 298.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6D36B4
RGBrgb(109, 54, 180)
HSLhsl(266, 54%, 46%)
HSVhsv(266, 70%, 71%)
CMYKcmyk(39.4%, 70%, 0%, 29.4%)
CIE-LABlab(36.34, 49.69, -57.75)
CIE-LCHlch(36.34, 76.18, 310.71°)
OKLaboklab(47.32% 0.0912 -0.1648)
OKLCHoklch(47.32% 0.188 298.9)
XYZxyz(15.8620, 9.1846, 44.1083)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D36B4 #7DB436
analogous
#363EB4 #6D36B4 #AC36B4
triadic
#6D36B4 #B46D36 #36B46D
tetradic
#6D36B4 #B4363E #7DB436 #36B4AC
square
#6D36B4 #B4363E #7DB436 #36B4AC
split-complementary
#6D36B4 #B4AC36 #3EB436
monochromatic
#341A56 #502885 #6D36B4 #8C5ACD #AD89DC

Accessibility & contrast

On white

7.40
#6D36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6D36B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D36B4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D36B4#FFFFFF#000000##FFFFFF
##6D36B41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d36b4;
/* rgb */ color: rgb(109, 54, 180);
/* oklch */ color: oklch(47.3% 0.188 298.9);
Tailwind
colors: {
  custom: {
    50: '#9d71cb',
    500: '#6d36b4',
    950: '#000000',
  },
}
SCSS
$custom: #6d36b4;
$custom-light: #9d71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d36b4",
  "rgb": {
    "r": 109,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 266.19,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.18832,
    "h": 298.9
  },
  "luminance": 0.09185
}

Semantic roles & 50–950 ramp

primary
#6D36B4
secondary
#A7C680
accent
#DD4B9D
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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