#6F36AA#6F36AA

#6F36AA is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.177 H 302.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6F36AA
RGBrgb(111, 54, 170)
HSLhsl(269, 52%, 44%)
HSVhsv(269, 68%, 67%)
CMYKcmyk(34.7%, 68.2%, 0%, 33.3%)
CIE-LABlab(35.83, 47.57, -52.61)
CIE-LCHlch(35.83, 70.93, 312.12°)
OKLaboklab(46.77% 0.0955 -0.1496)
OKLCHoklch(46.77% 0.177 302.5)
XYZxyz(15.1287, 8.9201, 38.9471)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36AA #71AA36
analogous
#3637AA #6F36AA #A936AA
triadic
#6F36AA #AA6F36 #36AA6F
tetradic
#6F36AA #AA3637 #71AA36 #36AAA9
square
#6F36AA #AA3637 #71AA36 #36AAA9
split-complementary
#6F36AA #AAA936 #37AA36
monochromatic
#32184D #51277C #6F36AA #8E54C9 #AC83D8

Accessibility & contrast

On white

7.54
#6F36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F36AA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36AA#FFFFFF#000000##FFFFFF
##6F36AA1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f36aa;
/* rgb */ color: rgb(111, 54, 170);
/* oklch */ color: oklch(46.8% 0.177 302.5);
Tailwind
colors: {
  custom: {
    50: '#9d71c4',
    500: '#6f36aa',
    950: '#000000',
  },
}
SCSS
$custom: #6f36aa;
$custom-light: #9d71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36aa",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 269.483,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4677,
    "c": 0.17748,
    "h": 302.5
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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