#6F36BB#6F36BB

#6F36BB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.196 H 298.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6F36BB
RGBrgb(111, 54, 187)
HSLhsl(266, 55%, 47%)
HSVhsv(266, 71%, 73%)
CMYKcmyk(40.6%, 71.1%, 0%, 26.7%)
CIE-LABlab(37.12, 51.85, -60.59)
CIE-LCHlch(37.12, 79.75, 310.56°)
OKLaboklab(48.1% 0.0928 -0.1731)
OKLCHoklch(48.1% 0.196 298.2)
XYZxyz(16.8421, 9.6054, 47.9708)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36BB #82BB36
analogous
#3640BB #6F36BB #B236BB
triadic
#6F36BB #BB6F36 #36BB6F
tetradic
#6F36BB #BB3640 #82BB36 #36BBB2
square
#6F36BB #BB3640 #82BB36 #36BBB2
split-complementary
#6F36BB #BBB236 #40BB36
monochromatic
#371B5C #53288C #6F36BB #8F5ED0 #B08DDE

Accessibility & contrast

On white

7.19
#6F36BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6F36BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F36BB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36BB#FFFFFF#000000##FFFFFF
##6F36BB1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#5C5775
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f36bb;
/* rgb */ color: rgb(111, 54, 187);
/* oklch */ color: oklch(48.1% 0.196 298.2);
Tailwind
colors: {
  custom: {
    50: '#9f72d0',
    500: '#6f36bb',
    950: '#000000',
  },
}
SCSS
$custom: #6f36bb;
$custom-light: #9f72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36bb",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 265.714,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.481,
    "c": 0.19637,
    "h": 298.2
  },
  "luminance": 0.09606
}

Semantic roles & 50–950 ramp

primary
#6F36BB
secondary
#ABC984
accent
#DF499F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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