#6F36BA#6F36BA

#6F36BA is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.195 H 298.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6F36BA
RGBrgb(111, 54, 186)
HSLhsl(266, 55%, 47%)
HSVhsv(266, 71%, 73%)
CMYKcmyk(40.3%, 71%, 0%, 27.1%)
CIE-LABlab(37.05, 51.60, -60.13)
CIE-LCHlch(37.05, 79.23, 310.63°)
OKLaboklab(48.02% 0.0929 -0.1717)
OKLCHoklch(48.02% 0.195 298.4)
XYZxyz(16.7354, 9.5628, 47.4089)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36BA #81BA36
analogous
#363FBA #6F36BA #B136BA
triadic
#6F36BA #BA6F36 #36BA6F
tetradic
#6F36BA #BA363F #81BA36 #36BAB1
square
#6F36BA #BA363F #81BA36 #36BAB1
split-complementary
#6F36BA #BAB136 #3FBA36
monochromatic
#361A5B #53288B #6F36BA #8F5DD0 #B08DDE

Accessibility & contrast

On white

7.21
#6F36BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6F36BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F36BA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36BA#FFFFFF#000000##FFFFFF
##6F36BA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#5D5774
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f36ba;
/* rgb */ color: rgb(111, 54, 186);
/* oklch */ color: oklch(48.0% 0.195 298.4);
Tailwind
colors: {
  custom: {
    50: '#9f72d0',
    500: '#6f36ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f36ba;
$custom-light: #9f72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36ba",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 265.909,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4802,
    "c": 0.19526,
    "h": 298.4
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#6F36BA
secondary
#ABC884
accent
#DE499E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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