#6A35BA#6A35BA

#6A35BA is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.196 H 296.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6A35BA
RGBrgb(106, 53, 186)
HSLhsl(264, 56%, 47%)
HSVhsv(264, 72%, 73%)
CMYKcmyk(43%, 71.5%, 0%, 27.1%)
CIE-LABlab(36.28, 51.17, -61.40)
CIE-LCHlch(36.28, 79.93, 309.81°)
OKLaboklab(47.34% 0.0867 -0.1756)
OKLCHoklch(47.34% 0.196 296.3)
XYZxyz(16.0775, 9.1552, 47.3649)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35BA #85BA35
analogous
#3542BA #6A35BA #AD35BA
triadic
#6A35BA #BA6A35 #35BA6A
tetradic
#6A35BA #BA3542 #85BA35 #35BAAD
square
#6A35BA #BA3542 #85BA35 #35BAAD
split-complementary
#6A35BA #BAAD35 #42BA35
monochromatic
#341A5B #4F278A #6A35BA #8A5CD0 #AC8BDE

Accessibility & contrast

On white

7.42
#6A35BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6A35BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35BA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35BA#FFFFFF#000000##FFFFFF
##6A35BA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#555774
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a35ba;
/* rgb */ color: rgb(106, 53, 186);
/* oklch */ color: oklch(47.3% 0.196 296.3);
Tailwind
colors: {
  custom: {
    50: '#9b71d0',
    500: '#6a35ba',
    950: '#000000',
  },
}
SCSS
$custom: #6a35ba;
$custom-light: #9b71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35ba",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 263.91,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47344,
    "c": 0.19588,
    "h": 296.3
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#6A35BA
secondary
#ACC882
accent
#DF49A3
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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