#6A36BA#6A36BA

#6A36BA is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.195 H 296.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6A36BA
RGBrgb(106, 54, 186)
HSLhsl(264, 55%, 47%)
HSVhsv(264, 71%, 73%)
CMYKcmyk(43%, 71%, 0%, 27.1%)
CIE-LABlab(36.46, 50.68, -61.12)
CIE-LCHlch(36.46, 79.40, 309.67°)
OKLaboklab(47.47% 0.0858 -0.1748)
OKLCHoklch(47.47% 0.195 296.1)
XYZxyz(16.1236, 9.2473, 47.3803)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36BA #86BA36
analogous
#3644BA #6A36BA #AC36BA
triadic
#6A36BA #BA6A36 #36BA6A
tetradic
#6A36BA #BA3644 #86BA36 #36BAAC
square
#6A36BA #BA3644 #86BA36 #36BAAC
split-complementary
#6A36BA #BAAC36 #44BA36
monochromatic
#341A5B #4F288B #6A36BA #8A5DD0 #AD8DDE

Accessibility & contrast

On white

7.37
#6A36BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6A36BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A36BA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A36BA#FFFFFF#000000##FFFFFF
##6A36BA1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#555774
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a36ba;
/* rgb */ color: rgb(106, 54, 186);
/* oklch */ color: oklch(47.5% 0.195 296.1);
Tailwind
colors: {
  custom: {
    50: '#9b71d0',
    500: '#6a36ba',
    950: '#000000',
  },
}
SCSS
$custom: #6a36ba;
$custom-light: #9b71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36ba",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 263.636,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47468,
    "c": 0.1947,
    "h": 296.1
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#6A36BA
secondary
#ADC884
accent
#DE49A4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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