#6A35A5#6A35A5

#6A35A5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.172 H 301.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6A35A5
RGBrgb(106, 53, 165)
HSLhsl(268, 51%, 43%)
HSVhsv(268, 68%, 65%)
CMYKcmyk(35.8%, 67.9%, 0%, 35.3%)
CIE-LABlab(34.65, 45.76, -51.55)
CIE-LCHlch(34.65, 68.93, 311.60°)
OKLaboklab(45.67% 0.0902 -0.1467)
OKLCHoklch(45.67% 0.172 301.6)
XYZxyz(14.0069, 8.3269, 36.4593)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35A5 #70A535
analogous
#3538A5 #6A35A5 #A235A5
triadic
#6A35A5 #A56A35 #35A56A
tetradic
#6A35A5 #A53538 #70A535 #35A5A2
square
#6A35A5 #A53538 #70A535 #35A5A2
split-complementary
#6A35A5 #A5A235 #38A535
monochromatic
#2E1748 #4C2677 #6A35A5 #8850C7 #A87FD6

Accessibility & contrast

On white

7.88
#6A35A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6A35A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35A5
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35A5#FFFFFF#000000##FFFFFF
##6A35A51.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#5E4F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a35a5;
/* rgb */ color: rgb(106, 53, 165);
/* oklch */ color: oklch(45.7% 0.172 301.6);
Tailwind
colors: {
  custom: {
    50: '#9970c0',
    500: '#6a35a5',
    950: '#000000',
  },
}
SCSS
$custom: #6a35a5;
$custom-light: #9970c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35a5",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 268.393,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.17217,
    "h": 301.6
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#6A35A5
secondary
#9DBF77
accent
#DB4D98
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A35A5

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

Preview Lab → · Contrast checker → · Palette generator →

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