#6C35B7#6C35B7

#6C35B7 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.193 H 297.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6C35B7
RGBrgb(108, 53, 183)
HSLhsl(265, 55%, 46%)
HSVhsv(265, 71%, 72%)
CMYKcmyk(41%, 71%, 0%, 28.2%)
CIE-LABlab(36.28, 50.76, -59.63)
CIE-LCHlch(36.28, 78.31, 310.41°)
OKLaboklab(47.32% 0.0902 -0.1703)
OKLCHoklch(47.32% 0.193 297.9)
XYZxyz(16.0025, 9.1530, 45.7142)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C35B7 #80B735
analogous
#353FB7 #6C35B7 #AD35B7
triadic
#6C35B7 #B76C35 #35B76C
tetradic
#6C35B7 #B7353F #80B735 #35B7AD
square
#6C35B7 #B7353F #80B735 #35B7AD
split-complementary
#6C35B7 #B7AD35 #3FB735
monochromatic
#341A58 #502788 #6C35B7 #8C5ACF #AD89DD

Accessibility & contrast

On white

7.42
#6C35B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6C35B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C35B7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C35B7#FFFFFF#000000##FFFFFF
##6C35B71.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#595572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c35b7;
/* rgb */ color: rgb(108, 53, 183);
/* oklch */ color: oklch(47.3% 0.193 297.9);
Tailwind
colors: {
  custom: {
    50: '#9c71ce',
    500: '#6c35b7',
    950: '#000000',
  },
}
SCSS
$custom: #6c35b7;
$custom-light: #9c71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c35b7",
  "rgb": {
    "r": 108,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 265.385,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47319,
    "c": 0.19274,
    "h": 297.9
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#6C35B7
secondary
#A9C781
accent
#DE499F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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