#6C35B3#6C35B3

#6C35B3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.188 H 298.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6C35B3
RGBrgb(108, 53, 179)
HSLhsl(266, 54%, 45%)
HSVhsv(266, 70%, 70%)
CMYKcmyk(39.7%, 70.4%, 0%, 29.8%)
CIE-LABlab(35.96, 49.73, -57.77)
CIE-LCHlch(35.96, 76.23, 310.73°)
OKLaboklab(47% 0.0909 -0.1649)
OKLCHoklch(47% 0.188 298.9)
XYZxyz(15.5921, 8.9888, 43.5526)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C35B3 #7CB335
analogous
#353DB3 #6C35B3 #AB35B3
triadic
#6C35B3 #B36C35 #35B36C
tetradic
#6C35B3 #B3353D #7CB335 #35B3AB
square
#6C35B3 #B3353D #7CB335 #35B3AB
split-complementary
#6C35B3 #B3AB35 #3DB335
monochromatic
#331955 #502784 #6C35B3 #8B58CD #AC87DB

Accessibility & contrast

On white

7.51
#6C35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6C35B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C35B3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C35B3#FFFFFF#000000##FFFFFF
##6C35B31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#5B5470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c35b3;
/* rgb */ color: rgb(108, 53, 179);
/* oklch */ color: oklch(47.0% 0.188 298.9);
Tailwind
colors: {
  custom: {
    50: '#9c71cb',
    500: '#6c35b3',
    950: '#000000',
  },
}
SCSS
$custom: #6c35b3;
$custom-light: #9c71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c35b3",
  "rgb": {
    "r": 108,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 266.19,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.18829,
    "h": 298.9
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

primary
#6C35B3
secondary
#A6C57F
accent
#DE4A9D
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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