#6B35AB#6B35AB

#6B35AB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.179 H 300.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6B35AB
RGBrgb(107, 53, 171)
HSLhsl(267, 53%, 44%)
HSVhsv(267, 69%, 67%)
CMYKcmyk(37.4%, 69%, 0%, 32.9%)
CIE-LABlab(35.23, 47.49, -54.21)
CIE-LCHlch(35.23, 72.07, 311.22°)
OKLaboklab(46.25% 0.0908 -0.1544)
OKLCHoklch(46.25% 0.179 300.4)
XYZxyz(14.6854, 8.6122, 39.4088)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35AB #75AB35
analogous
#353AAB #6B35AB #A635AB
triadic
#6B35AB #AB6B35 #35AB6B
tetradic
#6B35AB #AB353A #75AB35 #35ABA6
square
#6B35AB #AB353A #75AB35 #35ABA6
split-complementary
#6B35AB #ABA635 #3AAB35
monochromatic
#31184E #4E277C #6B35AB #8A53CA #AA82D8

Accessibility & contrast

On white

7.71
#6B35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6B35AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B35AB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35AB#FFFFFF#000000##FFFFFF
##6B35AB1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#5D516C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b35ab;
/* rgb */ color: rgb(107, 53, 171);
/* oklch */ color: oklch(46.3% 0.179 300.4);
Tailwind
colors: {
  custom: {
    50: '#9b70c5',
    500: '#6b35ab',
    950: '#000000',
  },
}
SCSS
$custom: #6b35ab;
$custom-light: #9b70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35ab",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 267.458,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.17915,
    "h": 300.4
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#6B35AB
secondary
#A1C27A
accent
#DC4C9A
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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