#6F36A9#6F36A9

#6F36A9 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.176 H 302.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6F36A9
RGBrgb(111, 54, 169)
HSLhsl(270, 52%, 44%)
HSVhsv(270, 68%, 66%)
CMYKcmyk(34.3%, 68%, 0%, 33.7%)
CIE-LABlab(35.76, 47.32, -52.13)
CIE-LCHlch(35.76, 70.40, 312.23°)
OKLaboklab(46.7% 0.0956 -0.1482)
OKLCHoklch(46.7% 0.176 302.8)
XYZxyz(15.0345, 8.8824, 38.4508)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36A9 #70A936
analogous
#3636A9 #6F36A9 #A836A9
triadic
#6F36A9 #A96F36 #36A96F
tetradic
#6F36A9 #A93636 #70A936 #36A9A8
square
#6F36A9 #A93636 #70A936 #36A9A8
split-complementary
#6F36A9 #A9A836 #36A936
monochromatic
#32184C #51277B #6F36A9 #8E54C8 #AC82D7

Accessibility & contrast

On white

7.56
#6F36A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6F36A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F36A9
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36A9#FFFFFF#000000##FFFFFF
##6F36A91.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#63506B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f36a9;
/* rgb */ color: rgb(111, 54, 169);
/* oklch */ color: oklch(46.7% 0.176 302.8);
Tailwind
colors: {
  custom: {
    50: '#9d71c3',
    500: '#6f36a9',
    950: '#000000',
  },
}
SCSS
$custom: #6f36a9;
$custom-light: #9d71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36a9",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 269.739,
    "s": 51.57,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46695,
    "c": 0.17636,
    "h": 302.8
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#6F36A9
secondary
#9EC17A
accent
#DB4D95
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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