#6A36AF#6A36AF

#6A36AF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.182 H 298.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6A36AF
RGBrgb(106, 54, 175)
HSLhsl(266, 53%, 45%)
HSVhsv(266, 69%, 69%)
CMYKcmyk(39.4%, 69.1%, 0%, 31.4%)
CIE-LABlab(35.59, 47.82, -56.01)
CIE-LCHlch(35.59, 73.64, 310.49°)
OKLaboklab(46.58% 0.0877 -0.1598)
OKLCHoklch(46.58% 0.182 298.8)
XYZxyz(14.9989, 8.7975, 41.4570)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36AF #7BAF36
analogous
#363FAF #6A36AF #A636AF
triadic
#6A36AF #AF6A36 #36AF6A
tetradic
#6A36AF #AF363F #7BAF36 #36AFA6
square
#6A36AF #AF363F #7BAF36 #36AFA6
split-complementary
#6A36AF #AFA636 #3FAF36
monochromatic
#311951 #4E2880 #6A36AF #8957CB #AA86DA

Accessibility & contrast

On white

7.61
#6A36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6A36AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A36AF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A36AF#FFFFFF#000000##FFFFFF
##6A36AF1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#5A536E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a36af;
/* rgb */ color: rgb(106, 54, 175);
/* oklch */ color: oklch(46.6% 0.182 298.8);
Tailwind
colors: {
  custom: {
    50: '#9a71c8',
    500: '#6a36af',
    950: '#000000',
  },
}
SCSS
$custom: #6a36af;
$custom-light: #9a71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36af",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 265.785,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46582,
    "c": 0.18226,
    "h": 298.8
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#6A36AF
secondary
#A5C37D
accent
#DC4C9E
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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