#6B35B1#6B35B1

#6B35B1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.186 H 298.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6B35B1
RGBrgb(107, 53, 177)
HSLhsl(266, 54%, 45%)
HSVhsv(266, 70%, 69%)
CMYKcmyk(39.5%, 70.1%, 0%, 30.6%)
CIE-LABlab(35.69, 49.03, -57.04)
CIE-LCHlch(35.69, 75.21, 310.68°)
OKLaboklab(46.73% 0.0898 -0.1628)
OKLCHoklch(46.73% 0.186 298.9)
XYZxyz(15.2703, 8.8461, 42.4894)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35B1 #7BB135
analogous
#353DB1 #6B35B1 #A935B1
triadic
#6B35B1 #B16B35 #35B16B
tetradic
#6B35B1 #B1353D #7BB135 #35B1A9
square
#6B35B1 #B1353D #7BB135 #35B1A9
split-complementary
#6B35B1 #B1A935 #3DB135
monochromatic
#321953 #4F2782 #6B35B1 #8A57CD #AB86DB

Accessibility & contrast

On white

7.58
#6B35B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6B35B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B35B1
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35B1#FFFFFF#000000##FFFFFF
##6B35B11.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#5A536F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b35b1;
/* rgb */ color: rgb(107, 53, 177);
/* oklch */ color: oklch(46.7% 0.186 298.9);
Tailwind
colors: {
  custom: {
    50: '#9b71c9',
    500: '#6b35b1',
    950: '#000000',
  },
}
SCSS
$custom: #6b35b1;
$custom-light: #9b71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35b1",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 266.129,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.18591,
    "h": 298.9
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#6B35B1
secondary
#A5C47D
accent
#DD4B9D
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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