#6A35A2#6A35A2

#6A35A2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.169 H 302.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6A35A2
RGBrgb(106, 53, 162)
HSLhsl(269, 51%, 42%)
HSVhsv(269, 67%, 64%)
CMYKcmyk(34.6%, 67.3%, 0%, 36.5%)
CIE-LABlab(34.43, 45.00, -50.10)
CIE-LCHlch(34.43, 67.34, 311.93°)
OKLaboklab(45.45% 0.0905 -0.1424)
OKLCHoklch(45.45% 0.169 302.4)
XYZxyz(13.7370, 8.2190, 35.0381)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35A2 #6DA235
analogous
#3537A2 #6A35A2 #A135A2
triadic
#6A35A2 #A26A35 #35A26A
tetradic
#6A35A2 #A23537 #6DA235 #35A2A1
square
#6A35A2 #A23537 #6DA235 #35A2A1
split-complementary
#6A35A2 #A2A135 #37A235
monochromatic
#2E1746 #4C2674 #6A35A2 #884FC5 #A77DD4

Accessibility & contrast

On white

7.94
#6A35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6A35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35A2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35A2#FFFFFF#000000##FFFFFF
##6A35A21.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0451A0
Tritanopia (blue-blind)
#5F4D67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a35a2;
/* rgb */ color: rgb(106, 53, 162);
/* oklch */ color: oklch(45.4% 0.169 302.4);
Tailwind
colors: {
  custom: {
    50: '#9970be',
    500: '#6a35a2',
    950: '#000000',
  },
}
SCSS
$custom: #6a35a2;
$custom-light: #9970be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35a2",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 269.174,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.16875,
    "h": 302.4
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#6A35A2
secondary
#9ABD75
accent
#DA4E96
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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