#6F36B4#6F36B4

#6F36B4 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.189 H 299.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6F36B4
RGBrgb(111, 54, 180)
HSLhsl(267, 54%, 46%)
HSVhsv(267, 70%, 71%)
CMYKcmyk(38.3%, 70%, 0%, 29.4%)
CIE-LABlab(36.58, 50.08, -57.34)
CIE-LCHlch(36.58, 76.13, 311.13°)
OKLaboklab(47.54% 0.094 -0.1635)
OKLCHoklch(47.54% 0.189 299.9)
XYZxyz(16.1109, 9.3130, 44.1200)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36B4 #7BB436
analogous
#363CB4 #6F36B4 #AE36B4
triadic
#6F36B4 #B46F36 #36B46F
tetradic
#6F36B4 #B4363C #7BB436 #36B4AE
square
#6F36B4 #B4363C #7BB436 #36B4AE
split-complementary
#6F36B4 #B4AE36 #3CB436
monochromatic
#351A56 #522885 #6F36B4 #8E5ACD #AE89DC

Accessibility & contrast

On white

7.34
#6F36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6F36B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F36B4
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36B4#FFFFFF#000000##FFFFFF
##6F36B41.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#5F5471
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f36b4;
/* rgb */ color: rgb(111, 54, 180);
/* oklch */ color: oklch(47.5% 0.189 299.9);
Tailwind
colors: {
  custom: {
    50: '#9e72cb',
    500: '#6f36b4',
    950: '#000000',
  },
}
SCSS
$custom: #6f36b4;
$custom-light: #9e72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36b4",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 267.143,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.18862,
    "h": 299.9
  },
  "luminance": 0.09313
}

Semantic roles & 50–950 ramp

primary
#6F36B4
secondary
#A6C680
accent
#DD4B9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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