#6B35B5#6B35B5

#6B35B5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.190 H 297.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6B35B5
RGBrgb(107, 53, 181)
HSLhsl(265, 55%, 46%)
HSVhsv(265, 71%, 71%)
CMYKcmyk(40.9%, 70.7%, 0%, 29%)
CIE-LABlab(36.00, 50.06, -58.90)
CIE-LCHlch(36.00, 77.30, 310.36°)
OKLaboklab(47.05% 0.0891 -0.1682)
OKLCHoklch(47.05% 0.19 297.9)
XYZxyz(15.6749, 9.0079, 44.6200)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35B5 #7FB535
analogous
#353FB5 #6B35B5 #AB35B5
triadic
#6B35B5 #B56B35 #35B56B
tetradic
#6B35B5 #B5353F #7FB535 #35B5AB
square
#6B35B5 #B5353F #7FB535 #35B5AB
split-complementary
#6B35B5 #B5AB35 #3FB535
monochromatic
#331956 #4F2786 #6B35B5 #8A59CE #AC88DC

Accessibility & contrast

On white

7.50
#6B35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6B35B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B35B5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35B5#FFFFFF#000000##FFFFFF
##6B35B51.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#595571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b35b5;
/* rgb */ color: rgb(107, 53, 181);
/* oklch */ color: oklch(47.0% 0.190 297.9);
Tailwind
colors: {
  custom: {
    50: '#9c71cc',
    500: '#6b35b5',
    950: '#000000',
  },
}
SCSS
$custom: #6b35b5;
$custom-light: #9c71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35b5",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 265.313,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47046,
    "c": 0.1904,
    "h": 297.9
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#6B35B5
secondary
#A8C680
accent
#DE4A9F
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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