#6A35AC#6A35AC

#6A35AC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.180 H 299.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6A35AC
RGBrgb(106, 53, 172)
HSLhsl(267, 53%, 44%)
HSVhsv(267, 69%, 67%)
CMYKcmyk(38.4%, 69.2%, 0%, 32.5%)
CIE-LABlab(35.18, 47.55, -54.89)
CIE-LCHlch(35.18, 72.62, 310.90°)
OKLaboklab(46.22% 0.0892 -0.1565)
OKLCHoklch(46.22% 0.18 299.7)
XYZxyz(14.6615, 8.5888, 39.9071)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35AC #77AC35
analogous
#353BAC #6A35AC #A635AC
triadic
#6A35AC #AC6A35 #35AC6A
tetradic
#6A35AC #AC353B #77AC35 #35ACA6
square
#6A35AC #AC353B #77AC35 #35ACA6
split-complementary
#6A35AC #ACA635 #3BAC35
monochromatic
#30184E #4D277D #6A35AC #8954CA #A983D9

Accessibility & contrast

On white

7.73
#6A35AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6A35AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35AC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35AC#FFFFFF#000000##FFFFFF
##6A35AC1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a35ac;
/* rgb */ color: rgb(106, 53, 172);
/* oklch */ color: oklch(46.2% 0.180 299.7);
Tailwind
colors: {
  custom: {
    50: '#9a70c6',
    500: '#6a35ac',
    950: '#000000',
  },
}
SCSS
$custom: #6a35ac;
$custom-light: #9a70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35ac",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 266.723,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46216,
    "c": 0.18012,
    "h": 299.7
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#6A35AC
secondary
#A2C27B
accent
#DC4C9C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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