#6B35B3#6B35B3

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

Color values

HEX#6B35B3
RGBrgb(107, 53, 179)
HSLhsl(266, 54%, 45%)
HSVhsv(266, 70%, 70%)
CMYKcmyk(40.2%, 70.4%, 0%, 29.8%)
CIE-LABlab(35.84, 49.54, -57.97)
CIE-LCHlch(35.84, 76.26, 310.52°)
OKLaboklab(46.89% 0.0895 -0.1655)
OKLCHoklch(46.89% 0.188 298.4)
XYZxyz(15.4711, 8.9265, 43.5470)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35B3 #7DB335
analogous
#353EB3 #6B35B3 #AA35B3
triadic
#6B35B3 #B36B35 #35B36B
tetradic
#6B35B3 #B3353E #7DB335 #35B3AA
square
#6B35B3 #B3353E #7DB335 #35B3AA
split-complementary
#6B35B3 #B3AA35 #3EB335
monochromatic
#331955 #4F2784 #6B35B3 #8A58CD #AB87DB

Accessibility & contrast

On white

7.54
#6B35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B35B3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35B3#FFFFFF#000000##FFFFFF
##6B35B31.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#5A5470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b35b3;
/* rgb */ color: rgb(107, 53, 179);
/* oklch */ color: oklch(46.9% 0.188 298.4);
Tailwind
colors: {
  custom: {
    50: '#9b71cb',
    500: '#6b35b3',
    950: '#000000',
  },
}
SCSS
$custom: #6b35b3;
$custom-light: #9b71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35b3",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 265.714,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46885,
    "c": 0.18815,
    "h": 298.4
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#6B35B3
secondary
#A7C57F
accent
#DE4A9E
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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