#6A35D9#6A35D9

#6A35D9 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.230 H 290.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6A35D9
RGBrgb(106, 53, 217)
HSLhsl(259, 68%, 53%)
HSVhsv(259, 76%, 85%)
CMYKcmyk(51.2%, 75.6%, 0%, 14.9%)
CIE-LABlab(38.93, 59.31, -75.10)
CIE-LCHlch(38.93, 95.70, 308.30°)
OKLaboklab(50.03% 0.0794 -0.2158)
OKLCHoklch(50.03% 0.23 290.2)
XYZxyz(19.7377, 10.6193, 66.6419)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35D9 #A4D935
analogous
#3552D9 #6A35D9 #BC35D9
triadic
#6A35D9 #D96A35 #35D96A
tetradic
#6A35D9 #D93552 #A4D935 #35D9BC
square
#6A35D9 #D93552 #A4D935 #35D9BC
split-complementary
#6A35D9 #D9BC35 #52D935
monochromatic
#38177C #4F21B0 #6A35D9 #9069E3 #B69CEC

Accessibility & contrast

On white

6.72
#6A35D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6A35D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A35D9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35D9#FFFFFF#000000##FFFFFF
##6A35D91.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDE
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#426385
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a35d9;
/* rgb */ color: rgb(106, 53, 217);
/* oklch */ color: oklch(50.0% 0.230 290.2);
Tailwind
colors: {
  custom: {
    50: '#9f72e6',
    500: '#6a35d9',
    950: '#000000',
  },
}
SCSS
$custom: #6a35d9;
$custom-light: #9f72e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35d9",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 217
  },
  "hsl": {
    "h": 259.39,
    "s": 68.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.22996,
    "h": 290.2
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#6A35D9
secondary
#C1D891
accent
#EB3DB3
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6A35D9

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

Preview Lab → · Contrast checker → · Palette generator →

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