#6A36D9#6A36D9

#6A36D9 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.229 H 290.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6A36D9
RGBrgb(106, 54, 217)
HSLhsl(259, 68%, 53%)
HSVhsv(259, 75%, 85%)
CMYKcmyk(51.2%, 75.1%, 0%, 14.9%)
CIE-LABlab(39.09, 58.86, -74.84)
CIE-LCHlch(39.09, 95.21, 308.19°)
OKLaboklab(50.14% 0.0787 -0.2151)
OKLCHoklch(50.14% 0.229 290.1)
XYZxyz(19.7838, 10.7114, 66.6573)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A36D9 #A5D936
analogous
#3653D9 #6A36D9 #BB36D9
triadic
#6A36D9 #D96A36 #36D96A
tetradic
#6A36D9 #D93653 #A5D936 #36D9BB
square
#6A36D9 #D93653 #A5D936 #36D9BB
split-complementary
#6A36D9 #D9BB36 #53D936
monochromatic
#38187D #4F21B0 #6A36D9 #9069E3 #B69DEC

Accessibility & contrast

On white

6.68
#6A36D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6A36D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A36D9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A36D9#FFFFFF#000000##FFFFFF
##6A36D91.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDE
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#426386
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a36d9;
/* rgb */ color: rgb(106, 54, 217);
/* oklch */ color: oklch(50.1% 0.229 290.1);
Tailwind
colors: {
  custom: {
    50: '#9f73e6',
    500: '#6a36d9',
    950: '#000000',
  },
}
SCSS
$custom: #6a36d9;
$custom-light: #9f73e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a36d9",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 259.141,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50138,
    "c": 0.229,
    "h": 290.1
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#6A36D9
secondary
#C2D992
accent
#EB3DB3
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6A36D9

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

Preview Lab → · Contrast checker → · Palette generator →

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