#6C35B2#6C35B2

#6C35B2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.187 H 299.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6C35B2
RGBrgb(108, 53, 178)
HSLhsl(266, 54%, 45%)
HSVhsv(266, 70%, 70%)
CMYKcmyk(39.3%, 70.2%, 0%, 30.2%)
CIE-LABlab(35.88, 49.48, -57.30)
CIE-LCHlch(35.88, 75.71, 310.81°)
OKLaboklab(46.92% 0.0911 -0.1635)
OKLCHoklch(46.92% 0.187 299.1)
XYZxyz(15.4913, 8.9485, 43.0219)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C35B2 #7BB235
analogous
#353CB2 #6C35B2 #AB35B2
triadic
#6C35B2 #B26C35 #35B26C
tetradic
#6C35B2 #B2353C #7BB235 #35B2AB
square
#6C35B2 #B2353C #7BB235 #35B2AB
split-complementary
#6C35B2 #B2AB35 #3CB235
monochromatic
#331954 #4F2783 #6C35B2 #8B57CD #AC86DB

Accessibility & contrast

On white

7.53
#6C35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6C35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C35B2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C35B2#FFFFFF#000000##FFFFFF
##6C35B21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#5C5370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c35b2;
/* rgb */ color: rgb(108, 53, 178);
/* oklch */ color: oklch(46.9% 0.187 299.1);
Tailwind
colors: {
  custom: {
    50: '#9c71ca',
    500: '#6c35b2',
    950: '#000000',
  },
}
SCSS
$custom: #6c35b2;
$custom-light: #9c71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c35b2",
  "rgb": {
    "r": 108,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 266.4,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46918,
    "c": 0.18717,
    "h": 299.1
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#6C35B2
secondary
#A6C57E
accent
#DD4A9D
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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