#6E35B5#6E35B5

#6E35B5 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.191 H 299.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6E35B5
RGBrgb(110, 53, 181)
HSLhsl(267, 55%, 46%)
HSVhsv(267, 71%, 71%)
CMYKcmyk(39.2%, 70.7%, 0%, 29%)
CIE-LABlab(36.36, 50.62, -58.30)
CIE-LCHlch(36.36, 77.21, 310.97°)
OKLaboklab(47.38% 0.0934 -0.1664)
OKLCHoklch(47.38% 0.191 299.3)
XYZxyz(16.0419, 9.1972, 44.6372)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E35B5 #7CB535
analogous
#353CB5 #6E35B5 #AE35B5
triadic
#6E35B5 #B56E35 #35B56E
tetradic
#6E35B5 #B5353C #7CB535 #35B5AE
square
#6E35B5 #B5353C #7CB535 #35B5AE
split-complementary
#6E35B5 #B5AE35 #3CB535
monochromatic
#341956 #512786 #6E35B5 #8D59CE #AE88DC

Accessibility & contrast

On white

7.40
#6E35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6E35B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E35B5
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E35B5#FFFFFF#000000##FFFFFF
##6E35B51.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e35b5;
/* rgb */ color: rgb(110, 53, 181);
/* oklch */ color: oklch(47.4% 0.191 299.3);
Tailwind
colors: {
  custom: {
    50: '#9d71cc',
    500: '#6e35b5',
    950: '#000000',
  },
}
SCSS
$custom: #6e35b5;
$custom-light: #9d71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e35b5",
  "rgb": {
    "r": 110,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 266.719,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47384,
    "c": 0.19079,
    "h": 299.3
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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