#6A35AB#6A35AB

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

Color values

HEX#6A35AB
RGBrgb(106, 53, 171)
HSLhsl(267, 53%, 44%)
HSVhsv(267, 69%, 67%)
CMYKcmyk(38%, 69%, 0%, 32.9%)
CIE-LABlab(35.10, 47.29, -54.41)
CIE-LCHlch(35.10, 72.09, 311.00°)
OKLaboklab(46.14% 0.0894 -0.1551)
OKLCHoklch(46.14% 0.179 299.9)
XYZxyz(14.5658, 8.5505, 39.4032)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35AB #76AB35
analogous
#353BAB #6A35AB #A535AB
triadic
#6A35AB #AB6A35 #35AB6A
tetradic
#6A35AB #AB353B #76AB35 #35ABA5
square
#6A35AB #AB353B #76AB35 #35ABA5
split-complementary
#6A35AB #ABA535 #3BAB35
monochromatic
#30184E #4D277C #6A35AB #8953CA #A982D8

Accessibility & contrast

On white

7.75
#6A35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6A35AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35AB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35AB#FFFFFF#000000##FFFFFF
##6A35AB1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a35ab;
/* rgb */ color: rgb(106, 53, 171);
/* oklch */ color: oklch(46.1% 0.179 299.9);
Tailwind
colors: {
  custom: {
    50: '#9a70c5',
    500: '#6a35ab',
    950: '#000000',
  },
}
SCSS
$custom: #6a35ab;
$custom-light: #9a70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35ab",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 266.949,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46137,
    "c": 0.17899,
    "h": 299.9
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#6A35AB
secondary
#A2C27A
accent
#DC4C9B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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