#6B35B7#6B35B7

#6B35B7 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.193 H 297.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6B35B7
RGBrgb(107, 53, 183)
HSLhsl(265, 55%, 46%)
HSVhsv(265, 71%, 72%)
CMYKcmyk(41.5%, 71%, 0%, 28.2%)
CIE-LABlab(36.16, 50.57, -59.83)
CIE-LCHlch(36.16, 78.34, 310.21°)
OKLaboklab(47.21% 0.0888 -0.171)
OKLCHoklch(47.21% 0.193 297.4)
XYZxyz(15.8815, 9.0906, 45.7085)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35B7 #81B735
analogous
#3540B7 #6B35B7 #AC35B7
triadic
#6B35B7 #B76B35 #35B76B
tetradic
#6B35B7 #B73540 #81B735 #35B7AC
square
#6B35B7 #B73540 #81B735 #35B7AC
split-complementary
#6B35B7 #B7AC35 #40B735
monochromatic
#341A58 #4F2788 #6B35B7 #8B5ACF #AC89DD

Accessibility & contrast

On white

7.45
#6B35B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6B35B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B35B7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35B7#FFFFFF#000000##FFFFFF
##6B35B71.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#585572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b35b7;
/* rgb */ color: rgb(107, 53, 183);
/* oklch */ color: oklch(47.2% 0.193 297.4);
Tailwind
colors: {
  custom: {
    50: '#9c71ce',
    500: '#6b35b7',
    950: '#000000',
  },
}
SCSS
$custom: #6b35b7;
$custom-light: #9c71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35b7",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 264.923,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47208,
    "c": 0.19263,
    "h": 297.4
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#6B35B7
secondary
#AAC781
accent
#DE49A1
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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