#6F36C2#6F36C2

#6F36C2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.204 H 296.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6F36C2
RGBrgb(111, 54, 194)
HSLhsl(264, 56%, 49%)
HSVhsv(264, 72%, 76%)
CMYKcmyk(42.8%, 72.2%, 0%, 23.9%)
CIE-LABlab(37.68, 53.64, -63.78)
CIE-LCHlch(37.68, 83.34, 310.06°)
OKLaboklab(48.67% 0.0914 -0.1825)
OKLCHoklch(48.67% 0.204 296.6)
XYZxyz(17.6098, 9.9125, 52.0140)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36C2 #89C236
analogous
#3643C2 #6F36C2 #B536C2
triadic
#6F36C2 #C26F36 #36C26F
tetradic
#6F36C2 #C23643 #89C236 #36C2B5
square
#6F36C2 #C23643 #89C236 #36C2B5
split-complementary
#6F36C2 #C2B536 #43C236
monochromatic
#381B62 #542992 #6F36C2 #9062D3 #B292E1

Accessibility & contrast

On white

7.04
#6F36C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6F36C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F36C2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36C2#FFFFFF#000000##FFFFFF
##6F36C21.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#595A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f36c2;
/* rgb */ color: rgb(111, 54, 194);
/* oklch */ color: oklch(48.7% 0.204 296.6);
Tailwind
colors: {
  custom: {
    50: '#9f72d5',
    500: '#6f36c2',
    950: '#000000',
  },
}
SCSS
$custom: #6f36c2;
$custom-light: #9f72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36c2",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 264.429,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48672,
    "c": 0.20405,
    "h": 296.6
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#6F36C2
secondary
#B0CC88
accent
#E048A2
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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