#6B35B2#6B35B2

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

Color values

HEX#6B35B2
RGBrgb(107, 53, 178)
HSLhsl(266, 54%, 45%)
HSVhsv(266, 70%, 70%)
CMYKcmyk(39.9%, 70.2%, 0%, 30.2%)
CIE-LABlab(35.76, 49.29, -57.50)
CIE-LCHlch(35.76, 75.74, 310.60°)
OKLaboklab(46.8% 0.0897 -0.1641)
OKLCHoklch(46.8% 0.187 298.6)
XYZxyz(15.3704, 8.8861, 43.0163)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35B2 #7CB235
analogous
#353DB2 #6B35B2 #AA35B2
triadic
#6B35B2 #B26B35 #35B26B
tetradic
#6B35B2 #B2353D #7CB235 #35B2AA
square
#6B35B2 #B2353D #7CB235 #35B2AA
split-complementary
#6B35B2 #B2AA35 #3DB235
monochromatic
#321954 #4F2783 #6B35B2 #8A57CD #AB86DB

Accessibility & contrast

On white

7.56
#6B35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6B35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B35B2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35B2#FFFFFF#000000##FFFFFF
##6B35B21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b35b2;
/* rgb */ color: rgb(107, 53, 178);
/* oklch */ color: oklch(46.8% 0.187 298.6);
Tailwind
colors: {
  custom: {
    50: '#9b71ca',
    500: '#6b35b2',
    950: '#000000',
  },
}
SCSS
$custom: #6b35b2;
$custom-light: #9b71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35b2",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 265.92,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46804,
    "c": 0.18703,
    "h": 298.6
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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