#6C35CB#6C35CB

#6C35CB is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.215 H 293.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6C35CB
RGBrgb(108, 53, 203)
HSLhsl(262, 59%, 50%)
HSVhsv(262, 74%, 80%)
CMYKcmyk(46.8%, 73.9%, 0%, 20.4%)
CIE-LABlab(37.92, 55.94, -68.65)
CIE-LCHlch(37.92, 88.56, 309.17°)
OKLaboklab(48.99% 0.0859 -0.1969)
OKLCHoklch(48.99% 0.215 293.6)
XYZxyz(18.2340, 10.0456, 57.4666)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C35CB #94CB35
analogous
#3549CB #6C35CB #B735CB
triadic
#6C35CB #CB6C35 #35CB6C
tetradic
#6C35CB #CB3549 #94CB35 #35CBB7
square
#6C35CB #CB3549 #94CB35 #35CBB7
split-complementary
#6C35CB #CBB735 #49CB35
monochromatic
#381B6A #52289B #6C35CB #8F66D8 #B396E4

Accessibility & contrast

On white

6.98
#6C35CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6C35CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C35CB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C35CB#FFFFFF#000000##FFFFFF
##6C35CB1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#4F5D7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c35cb;
/* rgb */ color: rgb(108, 53, 203);
/* oklch */ color: oklch(49.0% 0.215 293.6);
Tailwind
colors: {
  custom: {
    50: '#9f72dc',
    500: '#6c35cb',
    950: '#000000',
  },
}
SCSS
$custom: #6c35cb;
$custom-light: #9f72dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c35cb",
  "rgb": {
    "r": 108,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 262,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.21479,
    "h": 293.6
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#6C35CB
secondary
#B7CF8C
accent
#E246A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6C35CB

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

Preview Lab → · Contrast checker → · Palette generator →

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