#6A35AA#6A35AA

#6A35AA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.178 H 300.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6A35AA
RGBrgb(106, 53, 170)
HSLhsl(267, 52%, 44%)
HSVhsv(267, 69%, 67%)
CMYKcmyk(37.6%, 68.8%, 0%, 33.3%)
CIE-LABlab(35.03, 47.04, -53.94)
CIE-LCHlch(35.03, 71.57, 311.09°)
OKLaboklab(46.06% 0.0895 -0.1537)
OKLCHoklch(46.06% 0.178 300.2)
XYZxyz(14.4709, 8.5125, 38.9031)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35AA #75AA35
analogous
#353BAA #6A35AA #A435AA
triadic
#6A35AA #AA6A35 #35AA6A
tetradic
#6A35AA #AA353B #75AA35 #35AAA4
square
#6A35AA #AA353B #75AA35 #35AAA4
split-complementary
#6A35AA #AAA435 #3BAA35
monochromatic
#30184D #4D267B #6A35AA #8953C9 #A982D8

Accessibility & contrast

On white

7.77
#6A35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6A35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35AA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35AA#FFFFFF#000000##FFFFFF
##6A35AA1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#5C506B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a35aa;
/* rgb */ color: rgb(106, 53, 170);
/* oklch */ color: oklch(46.1% 0.178 300.2);
Tailwind
colors: {
  custom: {
    50: '#9a70c4',
    500: '#6a35aa',
    950: '#000000',
  },
}
SCSS
$custom: #6a35aa;
$custom-light: #9a70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35aa",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 267.179,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.17785,
    "h": 300.2
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#6A35AA
secondary
#A1C17A
accent
#DC4C9B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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