#6B35C2#6B35C2

#6B35C2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.205 H 295.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6B35C2
RGBrgb(107, 53, 194)
HSLhsl(263, 57%, 48%)
HSVhsv(263, 73%, 76%)
CMYKcmyk(44.8%, 72.7%, 0%, 23.9%)
CIE-LABlab(37.05, 53.43, -64.84)
CIE-LCHlch(37.05, 84.01, 309.49°)
OKLaboklab(48.12% 0.0865 -0.1857)
OKLCHoklch(48.12% 0.205 295)
XYZxyz(17.0715, 9.5666, 51.9756)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35C2 #8CC235
analogous
#3545C2 #6B35C2 #B135C2
triadic
#6B35C2 #C26B35 #35C26B
tetradic
#6B35C2 #C23545 #8CC235 #35C2B1
square
#6B35C2 #C23545 #8CC235 #35C2B1
split-complementary
#6B35C2 #C2B135 #45C235
monochromatic
#361B62 #502892 #6B35C2 #8D60D4 #AF91E1

Accessibility & contrast

On white

7.21
#6B35C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6B35C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B35C2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35C2#FFFFFF#000000##FFFFFF
##6B35C21.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#525A78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b35c2;
/* rgb */ color: rgb(107, 53, 194);
/* oklch */ color: oklch(48.1% 0.205 295.0);
Tailwind
colors: {
  custom: {
    50: '#9d71d5',
    500: '#6b35c2',
    950: '#000000',
  },
}
SCSS
$custom: #6b35c2;
$custom-light: #9d71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35c2",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 262.979,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.20484,
    "h": 295
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#6B35C2
secondary
#B1CC87
accent
#E047A6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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