#6D35B5#6D35B5

#6D35B5 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.191 H 298.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6D35B5
RGBrgb(109, 53, 181)
HSLhsl(266, 55%, 46%)
HSVhsv(266, 71%, 71%)
CMYKcmyk(39.8%, 70.7%, 0%, 29%)
CIE-LABlab(36.24, 50.43, -58.50)
CIE-LCHlch(36.24, 77.24, 310.77°)
OKLaboklab(47.27% 0.092 -0.167)
OKLCHoklch(47.27% 0.191 298.8)
XYZxyz(15.9182, 9.1334, 44.6314)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D35B5 #7DB535
analogous
#353DB5 #6D35B5 #AD35B5
triadic
#6D35B5 #B56D35 #35B56D
tetradic
#6D35B5 #B5353D #7DB535 #35B5AD
square
#6D35B5 #B5353D #7DB535 #35B5AD
split-complementary
#6D35B5 #B5AD35 #3DB535
monochromatic
#341956 #502786 #6D35B5 #8C59CE #AD88DC

Accessibility & contrast

On white

7.43
#6D35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6D35B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D35B5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D35B5#FFFFFF#000000##FFFFFF
##6D35B51.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#5C5471
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d35b5;
/* rgb */ color: rgb(109, 53, 181);
/* oklch */ color: oklch(47.3% 0.191 298.8);
Tailwind
colors: {
  custom: {
    50: '#9d71cc',
    500: '#6d35b5',
    950: '#000000',
  },
}
SCSS
$custom: #6d35b5;
$custom-light: #9d71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d35b5",
  "rgb": {
    "r": 109,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 266.25,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4727,
    "c": 0.19065,
    "h": 298.8
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#6D35B5
secondary
#A7C680
accent
#DE4A9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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