#6A35AF#6A35AF

#6A35AF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.184 H 298.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#6A35AF
RGBrgb(106, 53, 175)
HSLhsl(266, 54%, 45%)
HSVhsv(266, 70%, 69%)
CMYKcmyk(39.4%, 69.7%, 0%, 31.4%)
CIE-LABlab(35.41, 48.32, -56.30)
CIE-LCHlch(35.41, 74.19, 310.64°)
OKLaboklab(46.45% 0.0887 -0.1606)
OKLCHoklch(46.45% 0.184 298.9)
XYZxyz(14.9529, 8.7053, 41.4416)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35AF #7AAF35
analogous
#353DAF #6A35AF #A735AF
triadic
#6A35AF #AF6A35 #35AF6A
tetradic
#6A35AF #AF353D #7AAF35 #35AFA7
square
#6A35AF #AF353D #7AAF35 #35AFA7
split-complementary
#6A35AF #AFA735 #3DAF35
monochromatic
#311951 #4E2780 #6A35AF #8956CC #AA85DA

Accessibility & contrast

On white

7.66
#6A35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6A35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35AF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35AF#FFFFFF#000000##FFFFFF
##6A35AF1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#5A526E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a35af;
/* rgb */ color: rgb(106, 53, 175);
/* oklch */ color: oklch(46.5% 0.184 298.9);
Tailwind
colors: {
  custom: {
    50: '#9a70c8',
    500: '#6a35af',
    950: '#000000',
  },
}
SCSS
$custom: #6a35af;
$custom-light: #9a70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35af",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 266.066,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46453,
    "c": 0.18352,
    "h": 298.9
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#6A35AF
secondary
#A5C47C
accent
#DD4B9D
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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