#6B35B8#6B35B8

#6B35B8 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.194 H 297.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6B35B8
RGBrgb(107, 53, 184)
HSLhsl(265, 55%, 46%)
HSVhsv(265, 71%, 72%)
CMYKcmyk(41.8%, 71.2%, 0%, 27.8%)
CIE-LABlab(36.24, 50.83, -60.29)
CIE-LCHlch(36.24, 78.86, 310.14°)
OKLaboklab(47.29% 0.0886 -0.1723)
OKLCHoklch(47.29% 0.194 297.2)
XYZxyz(15.9860, 9.1324, 46.2586)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35B8 #82B835
analogous
#3541B8 #6B35B8 #AD35B8
triadic
#6B35B8 #B86B35 #35B86B
tetradic
#6B35B8 #B83541 #82B835 #35B8AD
square
#6B35B8 #B83541 #82B835 #35B8AD
split-complementary
#6B35B8 #B8AD35 #41B835
monochromatic
#341A59 #4F2788 #6B35B8 #8B5BD0 #AC8ADD

Accessibility & contrast

On white

7.43
#6B35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6B35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B35B8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35B8#FFFFFF#000000##FFFFFF
##6B35B81.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#575673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b35b8;
/* rgb */ color: rgb(107, 53, 184);
/* oklch */ color: oklch(47.3% 0.194 297.2);
Tailwind
colors: {
  custom: {
    50: '#9c71ce',
    500: '#6b35b8',
    950: '#000000',
  },
}
SCSS
$custom: #6b35b8;
$custom-light: #9c71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35b8",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 264.733,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4729,
    "c": 0.19375,
    "h": 297.2
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

primary
#6B35B8
secondary
#ABC781
accent
#DF49A1
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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