#6A35B4#6A35B4

#6A35B4 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.189 H 297.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6A35B4
RGBrgb(106, 53, 180)
HSLhsl(265, 55%, 46%)
HSVhsv(265, 71%, 71%)
CMYKcmyk(41.1%, 70.6%, 0%, 29.4%)
CIE-LABlab(35.80, 49.61, -58.64)
CIE-LCHlch(35.80, 76.81, 310.24°)
OKLaboklab(46.85% 0.0879 -0.1675)
OKLCHoklch(46.85% 0.189 297.7)
XYZxyz(15.4531, 8.9054, 44.0759)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35B4 #7FB435
analogous
#3540B4 #6A35B4 #A935B4
triadic
#6A35B4 #B46A35 #35B46A
tetradic
#6A35B4 #B43540 #7FB435 #35B4A9
square
#6A35B4 #B43540 #7FB435 #35B4A9
split-complementary
#6A35B4 #B4A935 #40B435
monochromatic
#321955 #4E2785 #6A35B4 #8958CE #AB88DC

Accessibility & contrast

On white

7.55
#6A35B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6A35B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35B4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35B4#FFFFFF#000000##FFFFFF
##6A35B41.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#585471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a35b4;
/* rgb */ color: rgb(106, 53, 180);
/* oklch */ color: oklch(46.9% 0.189 297.7);
Tailwind
colors: {
  custom: {
    50: '#9b71cb',
    500: '#6a35b4',
    950: '#000000',
  },
}
SCSS
$custom: #6a35b4;
$custom-light: #9b71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35b4",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 265.039,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46853,
    "c": 0.18915,
    "h": 297.7
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#6A35B4
secondary
#A8C67F
accent
#DE4AA0
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6A35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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