#6F36B7#6F36B7

#6F36B7 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.192 H 299.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6F36B7
RGBrgb(111, 54, 183)
HSLhsl(267, 54%, 46%)
HSVhsv(267, 70%, 72%)
CMYKcmyk(39.3%, 70.5%, 0%, 28.2%)
CIE-LABlab(36.81, 50.84, -58.74)
CIE-LCHlch(36.81, 77.68, 310.87°)
OKLaboklab(47.78% 0.0935 -0.1676)
OKLCHoklch(47.78% 0.192 299.1)
XYZxyz(16.4198, 9.4365, 45.7469)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36B7 #7EB736
analogous
#363EB7 #6F36B7 #B036B7
triadic
#6F36B7 #B76F36 #36B76F
tetradic
#6F36B7 #B7363E #7EB736 #36B7B0
square
#6F36B7 #B7363E #7EB736 #36B7B0
split-complementary
#6F36B7 #B7B036 #3EB736
monochromatic
#361A58 #522888 #6F36B7 #8E5BCF #AF8BDD

Accessibility & contrast

On white

7.27
#6F36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6F36B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F36B7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36B7#FFFFFF#000000##FFFFFF
##6F36B71.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#5E5573
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f36b7;
/* rgb */ color: rgb(111, 54, 183);
/* oklch */ color: oklch(47.8% 0.192 299.1);
Tailwind
colors: {
  custom: {
    50: '#9e72cd',
    500: '#6f36b7',
    950: '#000000',
  },
}
SCSS
$custom: #6f36b7;
$custom-light: #9e72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36b7",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 266.512,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.19194,
    "h": 299.1
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#6F36B7
secondary
#A8C782
accent
#DE4A9C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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