#6B35B4#6B35B4

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

Color values

HEX#6B35B4
RGBrgb(107, 53, 180)
HSLhsl(266, 55%, 46%)
HSVhsv(266, 71%, 71%)
CMYKcmyk(40.6%, 70.6%, 0%, 29.4%)
CIE-LABlab(35.92, 49.80, -58.44)
CIE-LCHlch(35.92, 76.78, 310.44°)
OKLaboklab(46.97% 0.0893 -0.1669)
OKLCHoklch(46.97% 0.189 298.2)
XYZxyz(15.5726, 8.9671, 44.0815)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35B4 #7EB435
analogous
#353EB4 #6B35B4 #AA35B4
triadic
#6B35B4 #B46B35 #35B46B
tetradic
#6B35B4 #B4353E #7EB435 #35B4AA
square
#6B35B4 #B4353E #7EB435 #35B4AA
split-complementary
#6B35B4 #B4AA35 #3EB435
monochromatic
#331955 #4F2785 #6B35B4 #8A58CE #AB88DC

Accessibility & contrast

On white

7.52
#6B35B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B35B4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35B4#FFFFFF#000000##FFFFFF
##6B35B41.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#595471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b35b4;
/* rgb */ color: rgb(107, 53, 180);
/* oklch */ color: oklch(47.0% 0.189 298.2);
Tailwind
colors: {
  custom: {
    50: '#9b71cb',
    500: '#6b35b4',
    950: '#000000',
  },
}
SCSS
$custom: #6b35b4;
$custom-light: #9b71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35b4",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 265.512,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.18928,
    "h": 298.2
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#6B35B4
secondary
#A8C67F
accent
#DE4A9F
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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