#6A36C2#6A36C2

#6A36C2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.204 H 294.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6A36C2
RGBrgb(106, 54, 194)
HSLhsl(262, 56%, 49%)
HSVhsv(262, 72%, 76%)
CMYKcmyk(45.4%, 72.2%, 0%, 23.9%)
CIE-LABlab(37.11, 52.78, -64.75)
CIE-LCHlch(37.11, 83.54, 309.19°)
OKLaboklab(48.13% 0.0842 -0.1855)
OKLCHoklch(48.13% 0.204 294.4)
XYZxyz(16.9980, 9.5971, 51.9853)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36C2 #8EC236
analogous
#3648C2 #6A36C2 #B036C2
triadic
#6A36C2 #C26A36 #36C26A
tetradic
#6A36C2 #C23648 #8EC236 #36C2B0
square
#6A36C2 #C23648 #8EC236 #36C2B0
split-complementary
#6A36C2 #C2B036 #48C236
monochromatic
#361B62 #502992 #6A36C2 #8C62D3 #AF92E1

Accessibility & contrast

On white

7.19
#6A36C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6A36C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A36C2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A36C2#FFFFFF#000000##FFFFFF
##6A36C21.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#515A79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a36c2;
/* rgb */ color: rgb(106, 54, 194);
/* oklch */ color: oklch(48.1% 0.204 294.4);
Tailwind
colors: {
  custom: {
    50: '#9c72d5',
    500: '#6a36c2',
    950: '#000000',
  },
}
SCSS
$custom: #6a36c2;
$custom-light: #9c72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36c2",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 262.286,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48134,
    "c": 0.20368,
    "h": 294.4
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#6A36C2
secondary
#B3CC88
accent
#E048A7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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