#6B35BA#6B35BA

#6B35BA is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.196 H 296.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6B35BA
RGBrgb(107, 53, 186)
HSLhsl(264, 56%, 47%)
HSVhsv(264, 72%, 73%)
CMYKcmyk(42.5%, 71.5%, 0%, 27.1%)
CIE-LABlab(36.40, 51.35, -61.20)
CIE-LCHlch(36.40, 79.89, 310.00°)
OKLaboklab(47.45% 0.0882 -0.175)
OKLCHoklch(47.45% 0.196 296.7)
XYZxyz(16.1971, 9.2169, 47.3705)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35BA #84BA35
analogous
#3541BA #6B35BA #AE35BA
triadic
#6B35BA #BA6B35 #35BA6B
tetradic
#6B35BA #BA3541 #84BA35 #35BAAE
square
#6B35BA #BA3541 #84BA35 #35BAAE
split-complementary
#6B35BA #BAAE35 #41BA35
monochromatic
#341A5B #50278A #6B35BA #8B5CD0 #AD8BDE

Accessibility & contrast

On white

7.39
#6B35BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6B35BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B35BA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35BA#FFFFFF#000000##FFFFFF
##6B35BA1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#565674
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b35ba;
/* rgb */ color: rgb(107, 53, 186);
/* oklch */ color: oklch(47.5% 0.196 296.7);
Tailwind
colors: {
  custom: {
    50: '#9c71d0',
    500: '#6b35ba',
    950: '#000000',
  },
}
SCSS
$custom: #6b35ba;
$custom-light: #9c71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35ba",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 264.361,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47453,
    "c": 0.19598,
    "h": 296.7
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#6B35BA
secondary
#ACC882
accent
#DF49A2
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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